lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: MultiSearcher in lucene4.0
Date Mon, 31 Dec 2012 15:28:39 GMT
Hi,

 

MultiSearcher was deprecated in Lucene 3.1 and removed in Lucene 4.0. Use a MultiReader on
top of a set of IndexReaders and construct a simple IndexSearcher using the MultiReader. See
also the Javadocs how to do this.

 

Before:

MultiSearcher( IndexSearcher(IndexReader), IndexSearcher(IndexReader),… )

 

Now:

IndexSearcher( MultiReader( IndexReader, IndexReader,…. ) )

 

Uwe

 

-----

Uwe Schindler

H.-H.-Meier-Allee 63, D-28213 Bremen

 <http://www.thetaphi.de/> http://www.thetaphi.de

eMail: uwe@thetaphi.de

 

From: 闫学高 [mailto:xuegao.yan@51auto.com] 
Sent: Monday, December 31, 2012 3:41 AM
To: java-user@lucene.apache.org
Subject: MultiSearcher in lucene4.0

 

How can I use the MultiSearcher in lucene4.0?

 

闫学高 技术部

移动电话/M.13482602518 电子邮箱/E. xuegao.yan@51auto.com <mailto:yu.zheng@51auto.com>
   

邮箱签名图片说明: cid:image002.png@01CD132C.1F7A7420                   

 

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message