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?

PerFieldAnalyzerWrapper.



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 (http://www.freebsd.org)


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to