On 10/27/2014 07:32 AM, Clemens Wyss DEV wrote:
Is it possible to fetch the terms of a FilterAtomicReader in order to provide suggestions from a subset of all documents in an index?
Yes, it is possible. I do it by feeding a custom Dictionary with a custom InputIterator in the lookup.build() method for WFSTCompletionLookup Suggestions are preprocessed once at runtime
So my target is to "provide suggestions from a subset of all documents in an index".
I provide different suggestions relevant to the languages chosen by my users
Note: I have an "equal" discussion ongoing in the solr-mailinglist. But I thought I'd might ask in the core-of-solr (i.e. lucene)-mailinglist, too ;) --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org
--------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org