Re: eDisMax parser and special characters

2014-10-13 Thread Lanke,Aniruddha
c grammars and infleexible tools such as JFlex. -- Jack Krupansky -Original Message- From: Lanke,Aniruddha Sent: Monday, October 13, 2014 11:03 AM To: solr-user@lucene.apache.org<mailto:solr-user@lucene.apache.org> Subject: Re: eDisMax parser and special characters Can the default b

Re: eDisMax parser and special characters

2014-10-13 Thread Jack Krupansky
ginal Message- From: Lanke,Aniruddha Sent: Monday, October 13, 2014 11:03 AM To: solr-user@lucene.apache.org Subject: Re: eDisMax parser and special characters Can the default behavior of "-" as a pre-fix operator be changed so it can be searched as a string? Thanks, On Oct 9, 2

Re: eDisMax parser and special characters

2014-10-13 Thread Lanke,Aniruddha
gt;> edismax, it quotes operators and then tries again, so the hyphen gets >> quoted, and then analyzed to nothing for text fields but is still a string >> for string fields. >> >> -- Jack Krupansky >> >> -Original Message- From: Lanke,Aniruddha >&

Re: eDisMax parser and special characters

2014-10-09 Thread Lanke,Aniruddha
; -Original Message- From: Lanke,Aniruddha > Sent: Wednesday, October 8, 2014 4:38 PM > To: solr-user@lucene.apache.org > Subject: Re: eDisMax parser and special characters > > Sorry for a delayed reply here is more information - > > Schema that we are using - http://

Re: eDisMax parser and special characters

2014-10-08 Thread Jack Krupansky
again, so the hyphen gets quoted, and then analyzed to nothing for text fields but is still a string for string fields. -- Jack Krupansky -Original Message- From: Lanke,Aniruddha Sent: Wednesday, October 8, 2014 4:38 PM To: solr-user@lucene.apache.org Subject: Re: eDisMax parser an

Re: eDisMax parser and special characters

2014-10-08 Thread Lanke,Aniruddha
Sorry for a delayed reply here is more information - Schema that we are using - http://pastebin.com/WQAJCCph Request Handler in config - http://pastebin.com/Y0kP40WF Some analysis - Search term: red - Parser eDismax No results show up (+((DisjunctionMaxQuery((name_starts_with:red^9.0 | name_par

Re: eDisMax parser and special characters

2014-10-08 Thread Erick Erickson
There's not much information here. What's the doc look like? What is the analyzer chain for it? What is the output when you add &debug=query? Details matter. A lot ;) Best, Erick On Wed, Oct 8, 2014 at 6:26 AM, Michael Joyner wrote: > Try escaping special chars with a "\" > > > On 10/08/2014 01

Re: eDisMax parser and special characters

2014-10-08 Thread Michael Joyner
Try escaping special chars with a "\" On 10/08/2014 01:39 AM, Lanke,Aniruddha wrote: We are using a eDisMax parser in our configuration. When we search using the query term that has a ‘-‘ we don’t get any results back. Search term: red - yellow This doesn’t return any data back but

Re: eDisMax parser and special characters

2014-10-08 Thread Aman Tandon
Hi, It seems me like there is difference in tokens generated during query and indexing time, you can tell us the your field type and the analyzers you are using to index that field. With Regards Aman Tandon On Wed, Oct 8, 2014 at 11:09 AM, Lanke,Aniruddha wrote: > We are using a eDisMax parser

eDisMax parser and special characters

2014-10-07 Thread Lanke,Aniruddha
We are using a eDisMax parser in our configuration. When we search using the query term that has a ‘-‘ we don’t get any results back. Search term: red - yellow This doesn’t return any data back but Search term: red yellow Will give back result ‘red - yellow’ How does eDisMax treat special chara

eDisMax parser and special characters

2014-10-07 Thread Lanke,Aniruddha
We are using a eDisMax parser in our configuration. When we search using the query term that has a ‘-‘ we don’t get any results back. Search term: red - yellow This doesn’t return any data back but Search term: red yellow Will give back result ‘red - yellow’ How does eDisMax treat special chara