Re: help with field definition

2016-09-16 Thread Gandham, Satya
Great, that worked. Thanks Ray and Emir for the solutions. On 9/16/16, 3:49 PM, "Ray Niu" wrote: Just add q.op=OR to change default operator to OR and it should work 2016-09-16 12:44 GMT-07:00 Gandham, Satya : > Hi Emir, > >Thanks for your reply. But I

Re: help with field definition

2016-09-16 Thread Ray Niu
Just add q.op=OR to change default operator to OR and it should work 2016-09-16 12:44 GMT-07:00 Gandham, Satya : > Hi Emir, > >Thanks for your reply. But I’m afraid I’m not seeing the > expected response. I’ve included the query and the corresponding debug > portion of the response: >

Re: help with field definition

2016-09-16 Thread Gandham, Satya
Hi Emir, Thanks for your reply. But I’m afraid I’m not seeing the expected response. I’ve included the query and the corresponding debug portion of the response: select?q=Justin\ Beiber&df=exactName_noAlias_en_US Debug: "rawquerystring":"Justin\\ Beiber", "querystring":"

Re: help with field definition

2016-09-16 Thread Emir Arnautovic
Hi, I missed that you already did define field and you are having troubles with query (did not read stackoverflow). Added answer there, but just in case somebody else is having similar troubles, issue is how query is written - space has to be escaped: q=Justin\ Bieber Regards, Emir On 13

Re: help with field definition

2016-09-14 Thread Emir Arnautovic
Hi Gandham, It seems to me that you need exact matches on singerName so it should be untokenized - use KeywordTokenizerFactory. If you want to make it case insensitive, add LowerCaseFilterFactory and that's for indexing. Query analysis chain can use standard tokenizer, LowerCaseFilterFactory

help with field definition

2016-09-13 Thread Gandham, Satya
HI, I need help with defining a field ‘singerName’ with the right tokenizers and filters such that it gives me the below described behavior: I have a few documents as given below: Doc 1 singerName: Justin Beiber Doc 2: singerName: Justin Timberlake … Below is the list of