Query parsed to: prefix
1 - 9 of 9 results (Page 1 of 1)
3.5.7 : Wildcard and prefix queries
starts on page 99 under section 3.5 (Parsing query expressions: QueryParser) in chapter 3 (Adding search to your application)
...If a term contains an asterisk or a question mark, it's considered a Wildcard- Query. When the term only contains a trailing asterisk, QueryParser optimizes it to a PrefixQuery instead. Both
prefix and wildcard queries are lowercased by default, but this behavior can be controlled: public void testLowercasing() throws Exception { Query q = QueryParser.parse("PrefixQuery*", "field", analyzer); assertEquals("lowercased", "prefixquery*", q.toString("field")); QueryParser qp = new QueryParser... [
Full sample chapter]
10.5.2 : Orthographic variation
starts on page 354 under section 10.5 (Alias-i: orthographic variation with Lucene) in chapter 10 (Case studies)
... as Foo Bar Corp, or common names such as cybercafe versus cyber cafe. Even simple prefixes and suffixes ... like plural gene versus genes to prefixes such as binding, cobinding, and co-binding. A final problem...
3.4.3 : Searching on a string: PrefixQuery
starts on page 84 under section 3.4 (Creating queries programmatically) in chapter 3 (Adding search to your application)
.... By default, the
prefix text is lowercased by QueryParser. See sec- tion 3.5.7 for details on how... [
Full sample chapter]
3.4.6 : Searching by wildcard: WildcardQuery
starts on page 90 under section 3.4 (Creating queries programmatically) in chapter 3 (Adding search to your application)
... Performance degradations can occur when you use WildcardQuery. A larger
prefix (characters before the first ... term may not be a wildcard character; this restric- tion prevents users from putting
asterisk-prefixed... [
Full sample chapter]
6.3.3 : Handling numeric field-range queries
starts on page 205 under section 6.3 (Extending QueryParser) in chapter 6 (Extending search)
... with prefix compression so that no penalty is paid for large shared prefixes like this zero padding...
10.7.5 : Configuration: one place to rule them all
starts on page 379 under section 10.7 (I love Lucene: TheServerSide) in chapter 10 (Case studies)
....ArticleIndexSource" directory="web/tssdotcom/articles" category-name="articles" path-prefix="/articles/article...
8.7 : Highlighting query terms
starts on page 300 in chapter 8 (Tools and extensions)
..., prefix, and range queries rewrite themselves to a BooleanQuery of all the matching terms. Call...
Appendix B : Lucene index format
starts on page 394
... files share the same prefix. In this example index, a number of files start with the prefix _lfyc ... that belong to the same segment share a com- mon prefix and differ in the suffix. In the previous ... file, so Lucene knows to look only for files with the _lfyc prefix. Lucene also limits itself to files ... saving a file with a segment prefix, such as _lfyc.txt, won't throw Lucene off. Of course, pol- luting ... a single segment). A seg- ment is given a unique filename prefix (_c in this case). The following sections...
index
starts on page 416
... and formula 78 by multiple fields 155 prefix queries 99 scrolling. See paging by relevance 152 sorting...