>
> > writer = new IndexWriter("C:\\", new StandardAnalyzer(), true);
> > Term term = new Term("line", "KOREA");
> > PhraseQuery query = new PhraseQuery();
> > query.add(term);
>
StandardAnalyzer - used here while indexing - applies lowercasing.
The query is created programatically - i.e. without
java-user@lucene.apache.org
Subject: Re: Need help searching
What Analyzer is your searcher using?
C:\\ as the index location sounds "super funky".
Why not C:\\MyIndex , so your index files are not all mixed up with whatever
lives in C:\\
Otis
--
Sematext -- http://sematext.com/ -- L
What Analyzer is your searcher using?
C:\\ as the index location sounds "super funky".
Why not C:\\MyIndex , so your index files are not all mixed up with whatever
lives in C:\\
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
- Original Message
> From: Brittany