lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Romita Saha" <Romita.S...@sg.panasonic.com>
Subject Re: solr search issue
Date Fri, 02 Nov 2012 05:56:48 GMT
Hi,

Thank you for your reply. What if I want to do a free text search?

Thanks and regards,
Romita 


From:   Gora Mohanty <gora@mimirtech.com>
To:     solr-user@lucene.apache.org, 
Date:   11/02/2012 12:36 PM
Subject:        Re: solr search issue



On 2 November 2012 09:51, Romita Saha <Romita.Saha@sg.panasonic.com> 
wrote:
>
> Hi,
>
> I am trying to search a database . In my database I have a field level2.
>
> My query:
> 
http://localhost:8983/solr/db/select/?defType=dismax&q=search%20level2&qf=data%20id^2%20&start=0&rows=11&fl=data,id


Where did you get this syntax from? If you want to search just on the
field level2, you should have:
http://localhost:8983/solr/db/select/?q=term&defType=dismax&qf=level2
where "term" is your search term. (I have omitted boosts, and extra
parameters.)

Regards,
Gora


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message