Re: Phrase Query Issue

2009-12-01 Thread Erick Erickson
Well, I don't think this is done normally. I'm assuming here that you've simplified the example and your *real* requirements aren't quite what you're showing, because what you've described seems really confusing to a user. That said, I don't think SOLR has a way to handle this out-of-the-box. What

Re: Phrase Query Issue

2009-11-30 Thread ravicv
Thanks Erick But their any way to get phrase search and normal search together. for Example if I search for "test" it should only give test result but not tests.. And if we search for tests it should give all results matching with tests(this should include stemmer results also) Please clarify me

Re: Phrase Query Issue

2009-11-30 Thread Erick Erickson
ignoreCase="true" >words="stopwords.txt" >enablePositionIncrements="true" >/> > generateWordParts="0" generateNumberParts="0" catenateWords="1" > catenateNumbers=&q

Re: Phrase Query Issue

2009-11-30 Thread ravicv
solr-user@lucene.apache.org >> Sent: Saturday, April 4, 2009 8:33:46 PM >> Subject: Re: Phrase Query Issue >> >> >> On Apr 4, 2009, at 1:25 AM, dabboo wrote: >> >> > >> > Erik, >> > >> > Thanks a lot for your reply.

Re: Phrase Query Issue

2009-04-16 Thread Otis Gospodnetic
Let me second this. People ask for this pretty often. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: Erik Hatcher > To: solr-user@lucene.apache.org > Sent: Saturday, April 4, 2009 8:33:46 PM > Subject: Re: Phrase Query Issu

Re: Phrase Query Issue

2009-04-04 Thread Erik Hatcher
On Apr 4, 2009, at 1:25 AM, dabboo wrote: Erik, Thanks a lot for your reply. I have made some changes in the solr code and now field clauses are working fine with dismax request. Not only this, wildcard characters are also working with dismax and q query parameter. If you want I can sh

Re: Phrase Query Issue

2009-04-03 Thread dabboo
Erik, Thanks a lot for your reply. I have made some changes in the solr code and now field clauses are working fine with dismax request. Not only this, wildcard characters are also working with dismax and q query parameter. If you want I can share modified code with you. Thanks, Amit Garg Er

Re: Phrase Query Issue

2009-04-03 Thread Erik Hatcher
Also note that the dismax parser does NOT support fielded clauses, so fieldname:"some phrase" is not parsed as you might expect with dismax. Erik On Apr 3, 2009, at 3:41 AM, dabboo wrote: Hi, I am implementing phrase search query using my application. I am trying to search "Glori

Re: Phrase Query Issue

2009-04-03 Thread Nicolas
Maybe you can have to escape quotes with the % folowed by the exa code of the quote like is done by the php urlencode fonction. "Returns a string in which all non-alphanumeric characters except /-_./ have been replaced with a percent (/%/) sign followed by two hex digits and spaces encoded as

Re: Phrase Query Issue

2009-04-03 Thread Shalin Shekhar Mangar
On Fri, Apr 3, 2009 at 1:11 PM, dabboo wrote: > > I am passing this to my solr search engine using httpclient. But it is > thrwoing me Invaild Query exception. > I suggest that you use the Solrj client. It will save a you a lot of effort. http://wiki.apache.org/solr/Solrj -- Regards, Shalin S