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,
Hello
I created an index for some xml files which contains 10 keyword fields
and one text field.
I created a TermQuery for searching text field. code like this,
--Dim textQuery As TermQuery = New TermQuery(New Term("content",
"school"))
I also created a Query using QueryParser.Parse for 1