diff --git a/src/java/org/apache/lucene/search/package.html b/src/java/org/apache/lucene/search/package.html index cdf8dbc619e..0cecc693c45 100644 --- a/src/java/org/apache/lucene/search/package.html +++ b/src/java/org/apache/lucene/search/package.html @@ -6,6 +6,8 @@ +Code to search indices. +

Table Of Contents

    @@ -113,7 +115,7 @@ org.apache.lucene.search.Searcher#search(Query,Filter)}. SpanQuery instances. SpanNearQuery allows for much more - complicated phrase queries since it is constructed from other to SpanQuery instances, instead of only TermQuery instances.

    @@ -153,12 +155,10 @@ org.apache.lucene.search.Searcher#search(Query,Filter)}. Note that the WildcardQuery can be quite slow. Also note that WildcardQuery should - not start with * and ?, as these are extremely slow. For tricks on how to search using a wildcard - at - the beginning of a term, see - - Starts With x and Ends With x Queries - from the Lucene users's mailing list. + not start with * and ?, as these are extremely slow. + To remove this protection and allow a wildcard at the beginning of a term, see method + setAllowLeadingWildcard in + QueryParser.

    FuzzyQuery