curl -XGET 'http://localhost/index/type/_search?pretty=true' -d '{"query" :
{"match":{"_all":["Shannu","
Text2","Something"]}}}' - this query executes with out error but not with
the expected results
I assume that the query operator is OR here:
'{"query" : {"match":{"_all":"Text1 Text2"}}}' - this query brings up all
the results with documents which has Text1 Or Text2 in them.
If in case I had to perform Text1 AND Text2 search, what will be the query ?
Many thanks again.
Cheers,
Shannu.
On Tuesday, October 9, 2012 12:14:13 PM UTC+1, David Pilato wrote:
Why not a match with "Shannu Text2 Something" on _all ?
--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
I assume that the query operator is OR here:
'{"query" : {"match":{"_all":"Text1 Text2"}}}' - this query brings up all the
results with documents which has Text1 Or Text2 in them.
If in case I had to perform Text1 AND Text2 search, what will be the query ?
Many thanks again.
Cheers,
Shannu.
On Tuesday, October 9, 2012 12:14:13 PM UTC+1, David Pilato wrote:
Why not a match with "Shannu Text2 Something" on _all ?
--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
I assume that the query operator is OR here:
'{"query" : {"match":{"_all":"Text1 Text2"}}}' - this query brings up all
the results with documents which has Text1 Or Text2 in them.
If in case I had to perform Text1 AND Text2 search, what will be the query
?
Many thanks again.
Cheers,
Shannu.
On Tuesday, October 9, 2012 12:14:13 PM UTC+1, David Pilato wrote:
Why not a match with "Shannu Text2 Something" on _all ?
--
David
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.