Unable to sort using datetime field in Lucene

2016-07-12 Thread Sheetal Deshpande
Hello Java Lucene dev's, I'm pretty much a newbie when it comes to Lucene. Actually I have a query. I am using Lucene for indexing logs, so as to make the searching of logs effective. No doubt, it is working hassle free, but here is something where I am stuck since days. I want to sort these logs

Re: Reduce index size without reopening IndexWriter

2016-07-12 Thread Adrien Grand
A likely cause to this problem is that you are leaking index readers. You should review your application code in order to make sure that every near-realtime reader that is acquired is eventually closed. Le lun. 11 juil. 2016 à 13:46, Jaime a écrit : > I use Lucene 6.1.0 (no solr) with NRT search

Fwd: Caching lucene index

2016-07-12 Thread Abhinav Tiwari
Any help here? -- Forwarded message -- From: Abhinav Tiwari Date: Fri, Jun 10, 2016 at 1:48 PM Subject: Caching lucene index To: java-user@lucene.apache.org Hi Team, We have recently implemented a search feature in our web application using Lucene where we perform dynamic index

Re: Caching lucene index

2016-07-12 Thread Adrien Grand
We do not have anything that is designed to address this use-case, except maybe MemoryIndex if your use-case involves indexing a single document. I don't really have suggestions except making sure that the number of indices that you maintain at any point in time is bounded. Lucene indices typically

Displaying Search Results from Lucene with new version Lucene (6.0)

2016-07-12 Thread JuliaZhang8
down votefavorite I am trying to created a servlet that uses Lucene. How would I display the results from indexSearcher as a list of document names or path names? It used to be in the o

Lucene Optimization

2016-07-12 Thread Siraj Haider
We currently use Lucene 2.9 and to keep the indexes running faster we optimize the indexes during night. In our application the volume of new documents coming in is very high so most of our indexes have to merge segments during the day too, when the document count reaches certain number. This ca