lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Lucene-java Wiki] Trivial Update of "LuceneFAQ" by JonathanHayward
Date Thu, 27 Dec 2007 16:08:51 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lucene-java Wiki" for change notification.

The following page has been changed by JonathanHayward:
http://wiki.apache.org/lucene-java/LuceneFAQ

------------------------------------------------------------------------------
  
  Parse your query using [http://lucene.apache.org/java/docs/api/org/apache/lucene/queryParser/MultiFieldQueryParser.html
MultiFieldQueryParser]. Note that terms which occur in short fields have a higher effect on
  the result ranking. Also !MultiFieldQueryParser builds queries that sometimes behave unexpectedly,
- namely for AND queries: it requires alls terms to appear in ''all'' field. This is not what
one typically
+ namely for AND queries: it requires all terms to appear in ''all'' fields. This is not what
one typically
  wants, for example in a search over "title" and "body" fields (Lucene 1.9 fixes this problem).
  
  Alternatively you could create a field which concatenates the content you would like to
search and

Mime
View raw message