You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by prerna07 <pk...@sapient.com> on 2008/09/16 15:35:14 UTC

Solr search by indexes on the basis of different search fields

We are doing serach in solr on indexes, is it possible to search on the basis
of different fields. 

For example we have a index created with fields author, title, ISBN and
phase. we want the search result first on the basis of author then title
match and then ISBN.
 
-- 
View this message in context: http://www.nabble.com/Solr-search-by-indexes-on-the-basis-of-different-search-fields-tp19511973p19511973.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr search by indexes on the basis of different search fields

Posted by prerna07 <pk...@sapient.com>.

Can you explain more on this or forward some example of this scenario which
can help us.


Otis Gospodnetic wrote:
> 
> Hi,
> 
> You can search using different fields and you can make such clauses
> required or prohibited or "should occur".
> 
> You seem to be describing something more hierarchical, but perhaps you can
> just make all clauses required.
> 
> Otis
> --
> Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
> 
> 
> 
> ----- Original Message ----
>> From: prerna07 <pk...@sapient.com>
>> To: solr-user@lucene.apache.org
>> Sent: Tuesday, September 16, 2008 9:35:14 AM
>> Subject: Solr search by indexes on the basis of different search fields
>> 
>> 
>> We are doing serach in solr on indexes, is it possible to search on the
>> basis
>> of different fields. 
>> 
>> For example we have a index created with fields author, title, ISBN and
>> phase. we want the search result first on the basis of author then title
>> match and then ISBN.
>> 
>> -- 
>> View this message in context: 
>> http://www.nabble.com/Solr-search-by-indexes-on-the-basis-of-different-search-fields-tp19511973p19511973.html
>> Sent from the Solr - User mailing list archive at Nabble.com.
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Solr-search-by-indexes-on-the-basis-of-different-search-fields-tp19511973p19525496.html
Sent from the Solr - User mailing list archive at Nabble.com.