Differences between revisions 9 and 10
Revision 9 as of 2009-05-15 15:59:01
Size: 1482
Editor: c-98-234-171-24
Comment:
Revision 10 as of 2009-09-20 21:47:38
Size: 1490
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:
[http://code.google.com/p/lucene-sql/ LSql] is a command-line tool that allows the user to run sql-like queries against the Lucene index. This tool is useful for automated migrations, because it allows the developer to treat a Lucene index the same as you would a database. [[http://code.google.com/p/lucene-sql/|LSql]] is a command-line tool that allows the user to run sql-like queries against the Lucene index. This tool is useful for automated migrations, because it allows the developer to treat a Lucene index the same as you would a database.
Line 17: Line 17:
[http://www.getopt.org/luke/ Luke] is an absolutely terrific utility for testing your lucene indices and queries dynamically through a GUI. [[http://www.getopt.org/luke/|Luke]] is an absolutely terrific utility for testing your lucene indices and queries dynamically through a GUI.
Line 20: Line 20:
[http://code.google.com/p/zoie Zoie] is a realtime search system built on Lucene. [[http://code.google.com/p/zoie|Zoie]] is a realtime search system built on Lucene.
Line 22: Line 22:
[http://code.google.com/p/bobo-browse Bobo] is a facet search extension to Lucene. [[http://code.google.com/p/bobo-browse|Bobo]] is a facet search extension to Lucene.

Community Contributions

Demoting results

The BoostingQuery class can be used to effectively demote results that match a given query. Unlike the "NOT" clause, this still selects documents that contain undesirable terms, but reduces their overall score:

  • Query balancedQuery = new BoostingQuery(positiveQuery, negativeQuery, 0.01f);

In this scenario the positiveQuery contains the mandatory, desirable criteria which is used to select all matching documents, and the negativeQuery contains the undesirable elements which are simply used to lessen the scores. Documents that match the negativeQuery have their score multiplied by the supplied "boost" parameter, so this should be less than 1 to achieve a demoting effect.

This code was made available here: http://marc.theaimsgroup.com/?l=lucene-user&m=108058407130459&w=2

Utilities

LSql is a command-line tool that allows the user to run sql-like queries against the Lucene index. This tool is useful for automated migrations, because it allows the developer to treat a Lucene index the same as you would a database.

Luke is an absolutely terrific utility for testing your lucene indices and queries dynamically through a GUI.

Extensions

Zoie is a realtime search system built on Lucene.

Bobo is a facet search extension to Lucene.

CommunityContributions (last edited 2009-09-20 21:47:38 by localhost)