Mailing List Archive

IndexReader.open problem
Hi All,

What is the difference between
indexReader.open(String[] indexpaths)

and

indexReader.open ( Directory dir )



Seems like later locks the the directory and former
doesn't. When would one want to use one or another.

We have an index which constantly changes, while we
don't care about the documents which got added after
the indexreader was opened we want multiple searches
( multithreaded and multi process ) to search through
the index. I am wondering which is more efficient for
us.

Thanks
Manish

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

--
To unsubscribe, e-mail: <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>
Re: IndexReader.open problem [ In reply to ]
Please disregard the question it was just an
oversight.

Thanks
Manish


__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com

--
To unsubscribe, e-mail: <mailto:lucene-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-dev-help@jakarta.apache.org>