Re: eDisMax parser and special characters

2014-10-13 Thread Lanke,Aniruddha
parser and special characters 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 str name

Re: eDisMax parser and special characters

2014-10-13 Thread Jack Krupansky
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, 2014, at 8:34 AM, Lanke

Re: eDisMax parser and special characters

2014-10-13 Thread Lanke,Aniruddha
@lucene.apache.orgmailto: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, 2014, at 8:34 AM, Lanke,Aniruddha aniruddha.la...@cerner.commailto:aniruddha.la...@cerner.com

Re: eDisMax parser and special characters

2014-10-09 Thread Lanke,Aniruddha
,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://pastebin.com/WQAJCCph Request Handler in config - http://pastebin.com

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 aniruddha.la...@cerner.com wrote: We

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 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 mich...@newsrx.com wrote: Try escaping special chars with a \ On

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 str

Re: eDisMax parser and special characters

2014-10-08 Thread Jack Krupansky
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 and special characters Sorry

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

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