How does sorting work in Lucene?

2016-02-28 Thread Gimantha Bandara
Hi all, We are using lucene to index our data and are maintaining millions of documents in sharded indices. Currently what we do is, reading each shard separately and collecting the TopDocs using TopDocCollector then sort them by the score and returning the Top scored Documents. I think using the

Lucene-5.2.0 on HDFS

2016-02-28 Thread sandeep das
Hi All, I was trying to create indexes on HDFSDirectory. So I tried to use lucene-hdfs-directory-4.7.0 but it seems to be incompatible with lucene-5.2.0. The class HdfsDirectory requires to create an instance of BufferedIndexOutput which has been deprecated in the lucene-5.2.0 hence my application