lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mathieu Lecarme <math...@garambrogne.net>
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.

M.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message