Re: Phrase Query Issue

2009-11-30 Thread ravicv

Hi I have a problem with phrase search.

If I search test then tests is also coming in search result.

Please help me ...

My schema continues...
"
 
  < type="index">








 
  < a nalyzer type="query">







  




  








  
  







  
"

and copy field 

 
 

Please help me ...




Otis Gospodnetic wrote:
> 
> 
> 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 Issue
>> 
>> 
>> 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 share modified code with you.
>> 
>> That'd be good to share.  Simply open a Solr JIRA issue with this
>> enhancement 
>> request and post your code there.  Test cases and documentation always 
>> appreciated too, but working code to start with is fine.
>> 
>> Erik
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Phrase-Query-Issue-tp22863529p26572797.html
Sent from the Solr - User mailing list archive at Nabble.com.



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 how normally this scenario is implemented?

I am using field title with text type which contains
SnowballPorterFilterFactory filter.

And another field title_exact with out SnowballPorterFilterFactory filter.

Both are copied using copy field.

 
 
But as text type is having a SnowballPorterFilterFactory filter it stores
tests as test.So always if I search for "test" tests also will come in my
search result.
Please tell me a way to avoid it.

Thanks
Ravichandra
-- 
View this message in context: 
http://old.nabble.com/Phrase-Query-Issue-tp22863529p26586788.html
Sent from the Solr - User mailing list archive at Nabble.com.