Re: RAM Directory not Serializable in Lucene 4.4 as well as 5.X

2016-01-08 Thread Sanne Grinovero
You could use Infinispan as an adaptor between the Lucene Directory and a JDBC database connection: http://infinispan.org/docs/8.0.x/user_guide/user_guide.html#_infinispan_as_a_storage_for_lucene_indexes Infinispan is primarily meant as an in-memory high perfomance storage but can be used as a "

Re: Proper use of LRUQueryCache

2016-01-08 Thread samt & sonders
Hi Adrien, thanks for your response! It seems like a default QueryCache is already set for an IndexReader acquired by the SearcherManager. Is there any information about the default settings? And are there any requirements I have to meet for the cache to work properly beside than having a Bo

Re: SolrIndexSearcher throws Misleading Error Message When timeAllowed is Specified.

2016-01-08 Thread will martin
Please read the javadoc for System.nanoTime(). I won’t bore you with the details about how computer clocks work. > On Jan 8, 2016, at 4:14 AM, Vishnu Mishra wrote: > > I am using Solr 5.3.1 and we are facing OutOfMemory exception while doing > some complex wildcard and proximity query (even fo

Prefix-Queries and Syntax Highlighting

2016-01-08 Thread Nils Knappmeier
Good morning, we currently use Lucene 4.3 in our project. We automatically generate PrefixQueries and we are passing the rewritten query to the Highlighter to highlight search terms in the search result. Up until a few days ago, we were using a MultiTermQuery.CONSTANT_SCORE_BOOLEAN_QUERY_REWRI

SolrIndexSearcher throws Misleading Error Message When timeAllowed is Specified.

2016-01-08 Thread Vishnu Mishra
I am using Solr 5.3.1 and we are facing OutOfMemory exception while doing some complex wildcard and proximity query (even for simple wildcard query). We are doing distributed solr search using shard across 20 cores. The problem description is given below. For example simple query like *q=Tile:(