Re: Context-aware suggesters in Solr

2014-07-18 Thread RaCo
Hi Alan or Areek, Were you able to make this work? I have solr 4.9 with suggestcomponent and analyzingInfixLookupFactory wich is amazing, but can't make filtering on the suggestion based on a field that has their ID's. Any help would be appreciated. -- View this message in context: http://lu

Re: Context-aware suggesters in Solr

2014-03-30 Thread Alan Woodward
Thanks Areek. So looking at the code in trunk, exposing it to Solr looks to be pretty straightforward - just extending DocumentDictionaryFactory to take a 'contextField' parameter as well, and passing that on to the DocumentDictionary constructor. I'll give it a go! Thanks again. Alan Woodwa

Re: Context-aware suggesters in Solr

2014-03-29 Thread Areek Zillur
The context field can only be set at configuration-time for the AnalyzingInfixSuggester (FYI: CONTEXTS_FIELD_NAME refers to the field in Lucene index that is internally maintained by the suggester and does not reflect any field in user's index). The context field can be specified and fed into the s