lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrzej Bialecki>
Subject Re: PrefixQuery and hieracical queries problem
Date Fri, 19 Mar 2004 16:49:41 GMT
Dennis Thrys√łe wrote:

> Andrzej Bialecki wrote:
>> Anyway.. I should've added that for Phrase Queries to work the text 
>> must be tokenized. So, the best way in this case would be to use
>> WhitespaceAnalyzer for the uri field, 
> I've figured out how to use the WhitespaceAnalyzer for creating the 
> PhraseQuery, but I suspect I should use the same analyzer when indexing 
> (sot the leading slash isn't removed).
> This is a problem though, because I'm using the StopAnalyzer. Have I 
> overlooked a way to specify a specific analyzer for a single field when 
> indexing?


>> and store it as Field.Text(...).
> Or UnStored?

Yes - if you don't need to retrieve it later; because you cannot get 
back the content of an UnStored field, as the name itself suggests.

Best regards,
Andrzej Bialecki

Software Architect, System Integration Specialist
CEN/ISSS EC Workshop, ECIMF project chair
EU FP6 E-Commerce Expert/Evaluator
FreeBSD developer (

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

View raw message