Ban_Mido
(Ban Mido)
May 11, 2013, 6:30am
1
Hi ,
Only recently i found the full power of query_string.
I found that we can search on multi fields using the query_string.
Like
Content:(world is beutiful) AND Occurance:2 AND Content:(pluto)
Here i would like to know if i can use the "more than" or "less than"
operators to compare numberic values.
I am also excited in knowing what other operations query_string supports.
Thanks
Vineeth
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
For more options, visit https://groups.google.com/groups/opt_out .
dadoonet
(David Pilato)
May 11, 2013, 7:44am
2
Yes you can.
mod_date:[20020101 TO *]
See http://lucene.apache.org/core/4_3_0/queryparser/org/apache/lucene/queryparser/classic/package-summary.html#Query_Parser_Syntax
--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Le 11 mai 2013 à 08:30, Ban Mido banmidobeyondtime@gmail.com a écrit :
Hi ,
Only recently i found the full power of query_string.
I found that we can search on multi fields using the query_string.
Like
Content:(world is beutiful) AND Occurance:2 AND Content:(pluto)
Here i would like to know if i can use the "more than" or "less than" operators to compare numberic values.
I am also excited in knowing what other operations query_string supports.
Thanks
Vineeth
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
For more options, visit https://groups.google.com/groups/opt_out .
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
For more options, visit https://groups.google.com/groups/opt_out .
Ban_Mido
(Ban Mido)
May 11, 2013, 2:40pm
3
Thanks Man ,
That helped a lot.
~Mido
On Sat, May 11, 2013 at 1:14 PM, David Pilato david@pilato.fr wrote:
Yes you can.
mod_date:[20020101 TO *]
See
org.apache.lucene.queryparser.classic (Lucene 4.3.0 API)
--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Le 11 mai 2013 à 08:30, Ban Mido banmidobeyondtime@gmail.com a écrit :
Hi ,
Only recently i found the full power of query_string.
I found that we can search on multi fields using the query_string.
Like
Content:(world is beutiful) AND Occurance:2 AND Content:(pluto)
Here i would like to know if i can use the "more than" or "less than"
operators to compare numberic values.
I am also excited in knowing what other operations query_string supports.
Thanks
Vineeth
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com .
For more options, visit https://groups.google.com/groups/opt_out .
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com .
For more options, visit https://groups.google.com/groups/opt_out .
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com .
For more options, visit https://groups.google.com/groups/opt_out .