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 "nokia samsung". 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") to return only id:1 record and want to highlight the field "nokia samsung". something like : "q=id:1 + body:nokia samsung" basically I want to highlight the query string when clicking on link and opening the new windows (like google cache). please help.. thanks