Re: joining two field for query

2010-02-09 Thread Jan Høydahl / Cominvent
You may also want to play with other highlighting parameters to select how much text to do highlighting on, how many fragments etc. See http://wiki.apache.org/solr/HighlightingParameters -- Jan Høydahl - search architect Cominvent AS - www.cominvent.com On 9. feb. 2010, at 13.08, Ahmet Arslan

Re: joining two field for query (Solved)

2010-02-09 Thread Ranveer Kumar
Hi Ahmet, Thank you very much.. my problem solved.. with regards On Tue, Feb 9, 2010 at 5:38 PM, Ahmet Arslan wrote: > > > I am searching by "nokia" and resulting (listing) 1,2,3 > > field with short > > description. > > There is link on search list(like google), by clicking on > > link perfo

Re: joining two field for query

2010-02-09 Thread Ahmet Arslan
> I am searching by "nokia" and resulting (listing) 1,2,3 > field with short > description. > There is link on search list(like google), by clicking on > link performing > new search (opening doc from index), for this search > > I want to join two fields: > id:1 + queryString ("nokia samsung") t

joining two field for query

2010-02-09 Thread Ranveer Kumar
Hi all, I need logic in solr to join two field in query; I indexed two field : id and body(text type). 5 rows are indexed: id=1 : text= nokia samsung id=2 : text= sony vaio nokia samsung id=3 : text= vaio nokia etc.. I am searching by "q=id:1" returning result perfectly, returning "n