On Monday 22 January 2007 17:19, Xue, Yijun wrote:

> I try a query "Secondname:Beckwith AND Firstname:Louise AND
> content:school"
> on Luke with WhitespaceAnalyzer, I can get hits, but nothing if I use
> StandardAnalyzer

You need to use the same analyzer for indexing and searching. For example, 
WhitespaceAnalyzer doesn't lowercase the words. Also see the FAQ:

http://wiki.apache.org/jakarta-lucene/LuceneFAQ#head-3558e5121806fb4fce80fc022d889484a9248b71

-- 
http://www.danielnaber.de

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

Reply via email to