QueryBuilder Match Multiple Terms


(Ahmed Yehia) #1

Hi,

I posted a new thread on SO about constructing a query with multiple terms,
instead of cut/paste, the following link:

Cheers


(Shay Banon) #2

If the location is mapped as a geo_point, you can't do (by default) direct
searches on lat and lon, you ned to have them indexed as well (see the
mapping for geo_point on how to do it). Also note that by default lat and
lon are normalized, so the values you used in your sample will be
normalized.

On Sun, May 27, 2012 at 10:45 PM, Ahmed Yehia ahmed.yehia.m@gmail.comwrote:

Hi,

I posted a new thread on SO about constructing a query with multiple
terms, instead of cut/paste, the following link:

http://stackoverflow.com/questions/10773581/elasticsearch-querybuilder-match-multiple-terms

Cheers


(Ahmed Yehia) #3

Thanks for hints, I got it to work now, integration testing was also useful
for constructing geo queries.

On Sunday, May 27, 2012 10:45:53 PM UTC+2, Ahmed Yehia wrote:

Hi,

I posted a new thread on SO about constructing a query with multiple
terms, instead of cut/paste, the following link:

http://stackoverflow.com/questions/10773581/elasticsearch-querybuilder-match-multiple-terms

Cheers


(system) #4