~slub.team/goobi-indexserver/3.x

« back to all changes in this revision

Viewing changes to lucene/contrib/queries/README.txt

  • Committer: Sebastian Meyer
  • Date: 2012-08-03 09:12:40 UTC
  • Revision ID: sebastian.meyer@slub-dresden.de-20120803091240-x6861b0vabq1xror
Remove Lucene and Solr source code and add patches instead
Fix Bug #985487: Auto-suggestion for the search interface

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
This module contains a number of filter and query objects that add to core lucene.
2
 
 
3
 
==== The "MoreLikeThis" class from the "similarity" module has been copied into here.
4
 
If people are generally happy with this move then the similarity module can be deleted, or at least a 
5
 
"Moved to queries module..." note left in its place.
6
 
 
7
 
==== FuzzyLikeThis - mixes the behaviour of FuzzyQuery and MoreLikeThis but with special consideration
8
 
of fuzzy scoring factors. This generally produces good results for queries where users may provide details in a number of 
9
 
fields and have no knowledge of boolean query syntax and also want a degree of fuzzy matching. The query is fast because, like
10
 
MoreLikeThis, it optimizes the query to only the most distinguishing terms.
11
 
 
12
 
==== BoostingQuery - effectively demotes search results that match a given query. 
13
 
Unlike the "NOT" clause, this still selects documents that contain undesirable terms, 
14
 
but reduces the overall score of docs containing these terms.
15
 
 
16
 
==== TermsFilter -  Unlike a RangeFilter this can be used for filtering on multiple terms that are not necessarily in 
17
 
a sequence. An example might be a collection of primary keys from a database query result or perhaps 
18
 
a choice of "category" labels picked by the end user.
19
 
 
20
 
==== RegexQuery - Implements the regular expression term search query. 
21
 
 
22
 
Mark Harwood
23
 
25/02/2006