Are you sure that you close the IndexWriter *before* you
open your _Searcher in your program (it kinda looks
like a test program is why I'm asking).
If the above is OK, I'd really recommend getting a copy
of Luke, writing your index to a FSDirectory and looking
at it with Luke.
Barring all that,
Hi all,
I encountered the following problem with the searching the exact text.
This is how I index:
...
document.Add(new Field("keyword", "hello world", Field.Store.YES,
Field.Index.UN_TOKENIZED));
This is how I try to search for "hello world"
string[] fields = new string[] { "name", "keywo