How to return location name in search result?

2022-10-24 Thread Gurmit Teotia
I've defined following field in my schema to store latitude and longitude- and "location" is of following field type I'm storing multiple latitude and longitude pairs in loc_coords field and using a "geofilt" filter successfully able to retrieve the documents close to a given point. I'm lookin

Re: How to return location name in search result?

2022-10-27 Thread Gurmit Teotia
ng on the size right now this might not actually matter), and you > need to update multiple documents anytime you want to change shared > metadata. > > - Houston > > On Mon, Oct 24, 2022 at 1:01 PM Gurmit Teotia > wrote: > > > I've defined following field in my s

How to pass different search strings to search fields in edismax parser?

2023-03-30 Thread Gurmit Teotia
I have a following query which works as expected using edismax q=Golden Door qf=book_title^7 book_description^2 tags^1.2 pf=book_title~2^6 book_description~125^2 However I want to pass different search strings to search fields and also give "query field" boost and "phrase field" boost along with