Team Elements

Status: Caution PostgreSQL Open Source Initiative (OSI) Java
PUBLIC PROFILE

Back to topics

Issues and Open Discussion

is it possible to use the latest lucene?

You need to be logged in to post messages

is it possible to use the latest lucene?

3/20/2007 3:30 PM EDT

What should be done if I would like to use the latest Lucene engine?

There are some sophisticated code to highlight search terms, but it is not compatible with the Lucene version used in the Team Elements. The current code for highlighting search terms in the Team Elements often generates something improper.

1. 3/20/2007 5:37 PM EDT (edited)
Default user photo

By Matt Rajkowski

Concursive Corporation
Product Design

airplane-icon-100x100.png

Hi Kumo,

A new release is being prepared... it has a host of new features and includes updates to the following libraries:

- Updated to ROME RSS library 0.9
- Updated to PostgreSQL JDBC library 8.2-504
- Updated to Lucene library 2.1.0
- Updated to JasperReports library 1.3.1
- Updated to jTDS MS SQL Server library 1.2
- Updated to iText 1.4.6

To move to Lucene 2.1, several deprecated methods were updated using details from:
http://lucene.apache.org/java/1_9_0/api/deprecated-list.html
In summary, each Indexer needed to use "new Field()"; the QueryParser needed to be instantiated, and the .delete method needed to be .deleteDocument.

The library changes have not been committed yet, but will be going into the svn trunk soon.

The current highlighter definitely has room for improvement. Please let us know how the lucene highliter works.

2. 3/21/2007 3:11 AM EDT (edited)

Thank you so much for your quick response.

I switched to the latest Lucene. Also I used Highlighter downloaded from Lucene Sandbox. It works good but not as good as I expected.
Maybe I didn't do it correctly.

Thank you again.

2 results found