Re: Use of blanks in context filter field with AnalyzingInfixLookupFactory

2017-06-24 Thread Georg Sorst
Alfonso, I've run into similar issues with the context filter query, maybe this is caused by the StandardTokenizer. I've written a patch in SOLR-9968 that makes the analyzer for the context filter query configurable. This has helped me at least. SOLR-7963 also allows you to change the query

Re: Use of blanks in context filter field with AnalyzingInfixLookupFactory

2017-06-12 Thread Alfonso Muñoz-Pomer Fuentes
suggestAnalyzerFieldType and queryAnalyzerFieldType are related to the field parameter (in my case property_value), not to the contextField. Moreover, the change you suggest makes AnalyzingInfixLookupFactory always return 0 results (something that’s not discussed in the reference guide and has

Re: Use of blanks in context filter field with AnalyzingInfixLookupFactory

2017-06-12 Thread Susheel Kumar
Change below type to string and try... text_en text_en Thanks, Susheel On Mon, Jun 12, 2017 at 1:28 PM, Alfonso Muñoz-Pomer Fuentes < amu...@ebi.ac.uk> wrote: > Hi all, > > I was wondering if anybody has experience setting up a suggester with > filtering using a context field that has

Use of blanks in context filter field with AnalyzingInfixLookupFactory

2017-06-12 Thread Alfonso Muñoz-Pomer Fuentes
Hi all, I was wondering if anybody has experience setting up a suggester with filtering using a context field that has blanks. Currently this is what I have in solr_config.xml: AnalyzingInfixLookupFactory DocumentDictionaryFactory species text_en text_en false