Re: Need help searching

2008-08-09 Thread Doron Cohen
> > > 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

RE: Need help searching

2008-08-08 Thread Brittany Jacobs
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

Re: Need help searching

2008-08-08 Thread Otis Gospodnetic
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