Lucene Free Text Suggester, get only single tokens as suggestion!

2014-10-13 Thread andi rexha
Hi! I have a field in an index for which I want to have a "free text suggestion". The field is analyzed, storend and term vector the field. I tried to use two approaches to get the suggestions from the field. I have tried to apply the free text suggester with a dictionary like :

Re: Exception from FastTaxonomyFacetCounts

2014-10-13 Thread Jigar Shah
In my application i have two intances of SearcherManager. 1) SearcherManager with 'applyAllDeletes = true' which is used by Indexer. (Works in NRT mode, deletes should be visible to it, also i have ControlledRealTimeReopenThread, which refeshes searcher) 2) SearcherManager with 'applyAllDeletes =

Re: Lucene Free Text Suggester, get only single tokens as suggestion!

2014-10-13 Thread Michael McCandless
The problem is, your Dictionary is enumerating the analyzed (by WhitespaceAnalyzer) terms, so you will always only see a single token suggested. You could use KeywordAnalyzer instead, so that the entire string is a single token. But this bloats your index, so it's better to simply build the sugge

Abort a search

2014-10-13 Thread Sven-Teichmann
Hi, I try to find a way to abort a running search. I am aware of the TimeLimitingCollector, but in my case this will not help at all. The problem is, that I have to cancel very complex and long running searches, which might never find something. Because they do not find something, the collect m

Re: ArrayIndexOutOfBoundsException: -65536

2014-10-13 Thread Trejkaz
Bit of thread necromancy here, but I figured it was relevant because we get exactly the same error. On Thu, Jan 19, 2012 at 12:47 AM, Michael McCandless wrote: > Hmm, are you certain your RAM buffer is 3 MB? > > Is it possible you are indexing an absurdly enormous document...? We're seeing a cas