Re: how to do exact serch with solrj

2009-06-05 Thread Otis Gospodnetic
Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: Avlesh Singh > To: solr-user@lucene.apache.org > Sent: Friday, June 5, 2009 12:37:20 AM > Subject: Re: how to do exact serch with solrj > > And the field should be of type, text, right

Re: how to do exact serch with solrj

2009-06-04 Thread Avlesh Singh
and let us know. > > Otis > -- > Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch > > > > - Original Message > > From: Otis Gospodnetic > > To: solr-user@lucene.apache.org > > Sent: Thursday, June 4, 2009 8:47:50 PM > > Subject: Re: how to do

Re: how to do exact serch with solrj

2009-06-04 Thread Otis Gospodnetic
try it and let us know. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: Otis Gospodnetic > To: solr-user@lucene.apache.org > Sent: Thursday, June 4, 2009 8:47:50 PM > Subject: Re: how to do exact serch with solrj > > >

Re: how to do exact serch with solrj

2009-06-04 Thread Otis Gospodnetic
-- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: Jianbin Dai > To: solr-user@lucene.apache.org > Sent: Thursday, June 4, 2009 6:42:39 PM > Subject: Re: how to do exact serch with solrj > > > I still have a problem with exact matching. >

Re: how to do exact serch with solrj

2009-06-04 Thread Jianbin Dai
uot;. Setting this field to string instead of text doesn't work well either, because I want something like "Hello, The World" to be matched as well. Any idea? Thanks. > --- On Sat, 5/30/09, Avlesh Singh > wrote: > > > From: Avlesh Singh > > Subject: Re: h

Re: how to do exact serch with solrj

2009-05-30 Thread Jianbin Dai
That's correct! Thanks Avlesh. --- On Sat, 5/30/09, Avlesh Singh wrote: > From: Avlesh Singh > Subject: Re: how to do exact serch with solrj > To: solr-user@lucene.apache.org > Date: Saturday, May 30, 2009, 11:45 PM > You need exact match for all the > thre

Re: how to do exact serch with solrj

2009-05-30 Thread Avlesh Singh
ingh wrote: > > > From: Avlesh Singh > > Subject: Re: how to do exact serch with solrj > > To: solr-user@lucene.apache.org > > Date: Saturday, May 30, 2009, 10:56 PM > > query.setQuery("title:hello the > > world") is what you need. > > > > Che

Re: how to do exact serch with solrj

2009-05-30 Thread Jianbin Dai
I tried, but seems it's not working right. --- On Sat, 5/30/09, Avlesh Singh wrote: > From: Avlesh Singh > Subject: Re: how to do exact serch with solrj > To: solr-user@lucene.apache.org > Date: Saturday, May 30, 2009, 10:56 PM > query.setQuery("title:hello the &

Re: how to do exact serch with solrj

2009-05-30 Thread Avlesh Singh
query.setQuery("title:hello the world") is what you need. Cheers Avlesh On Sun, May 31, 2009 at 6:23 AM, Jianbin Dai wrote: > > Hi, > > I want to search "hello the world" in the "title" field using solrj. I set > the query filter > query.addFilterQuery("title"); > query.setQuery("hello the worl

how to do exact serch with solrj

2009-05-30 Thread Jianbin Dai
Hi, I want to search "hello the world" in the "title" field using solrj. I set the query filter query.addFilterQuery("title"); query.setQuery("hello the world"); but it returns not exact match results as well. I know one way to do it is to set "title" field to string instead of text. But is