Re: Problems with IndexSearcher

2010-07-06 Thread Daniel Wertheim
To make a search, you have to have an index > > > and Indexes are created with IndexWriter. > > > (creating an empty index with IndexReader(or IndexSearcher) would be > weird) > > > DIGY > > > > > > -Original Message- > > > From: Daniel Wertheim

RE: Problems with IndexSearcher

2010-07-05 Thread Digy
y, July 06, 2010 12:27 AM To: lucene-net-dev@lucene.apache.org Subject: Re: Problems with IndexSearcher I get that a searcher needs an index to search, but why not let us create an instance of the searcher which doesn't blow up untill consumed? It takes an Directory as dependency, not

Re: Problems with IndexSearcher

2010-07-05 Thread Daniel Wertheim
lucene-net-dev@lucene.apache.org > Subject: Re: Problems with IndexSearcher > > Hi, > Why? Doesn't that create an unclear coupling from the Searcher to the > Writer? > > Does this mean that they should be seen as one "unit"? > > //Daniel > > 2010/7/