Re: Operators NEARx, BEFOR, AFTER, FIRSTx, LASTx

2015-03-17 Thread Petr Janský
Noone? :-( Petr Dne středa 18. února 2015 12:35:15 UTC+1 Petr Janský napsal(a): Hi Lukas, thank you for your answer. I checked the Proximity Match - match_phrase and it's what I looking for. I'm only not able to find a way how to create queries like: 1. Obama BEFORE Iraq - the first

Re: Operators NEARx, BEFOR, AFTER, FIRSTx, LASTx

2015-02-18 Thread Petr Janský
Hi Lukas, thank you for your answer. I checked the Proximity Match - match_phrase and it's what I looking for. I'm only not able to find a way how to create queries like: 1. Obama BEFORE Iraq - the first word(not term) is before the second in a field text 2. President Obama AFTER

Re: Operators NEARx, BEFOR, AFTER, FIRSTx, LASTx

2015-01-19 Thread Petr Janský
Noone? :-( Petr Dne úterý 13. ledna 2015 15:37:18 UTC+1 Petr Janský napsal(a): Hi there, I'm looking for a way how to access span_near and span_first functionality to users via search box in gui that uses query string query. 1. Is there any easy way how to do it? 2. Will

Re: Operators NEARx, BEFOR, AFTER, FIRSTx, LASTx

2015-01-19 Thread Lukáš Vlček
Hi Petr, let me try to address some of your questions: ad 1) I am not sure I understand what you mean. If you want to use span type of query then simply use it instead of query string query. Especially, if you pass user input into the query then it is recommended NOT to use query string query

Operators NEARx, BEFOR, AFTER, FIRSTx, LASTx

2015-01-13 Thread Petr Janský
Hi there, I'm looking for a way how to access span_near and span_first functionality to users via search box in gui that uses query string query. 1. Is there any easy way how to do it? 2. Will ElasticSeach folks implement operators like NEARx, BEFOR, AFTER, FIRSTx, LASTx to be able