lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mathieu Lecarme <>
Subject Re: Storing phrases in index
Date Wed, 09 Apr 2008 13:28:02 GMT
palexv a écrit :
> Hello all.
> I have a question to advanced in lucene.
> I have a set of phrases which I need to store in index. 
> Is there is a way of storing phrases as terms in index?
> How is the best way of writing such index? Should this field be tokenized?
not tokenized
> What is the best way of searching phrases by mask in such index? Should I
> use BooleanQuery, WildCartQuery or SpanQuery?
il you search complete phrase, just use Term, if you search part of 
phrase, use ShingleFilter.

> How is the best way to escape from maxClauses exception when searching like
> a*?
indexing indexed term.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message