I want to find all books that have the words "red" and "blue" in the name
or description fields. So I do a match w/ operator "OR" against fields name
and description. BUT both red and blue must appear.
name: red
description: blue
author: foo
name: blue
description: red
author: foo
name: blue red
description: blue
author: foo
All books above would match. But this would not match:
name: red
description: pink
author: foo
since it doesn't have blue.
I can do this by also specifying that "red" and "blue" match the "_all"
field (using the AND operator for "red blue". BUT I would like to NOT use
the _all field...
is it possible for me to? Can't figure out how to do this without using the
_all field....
I want to find all books that have the words "red" and "blue" in the name
or description fields. So I do a match w/ operator "OR" against fields name
and description. BUT both red and blue must appear.
name: red
description: blue
author: foo
name: blue
description: red
author: foo
name: blue red
description: blue
author: foo
All books above would match. But this would not match:
name: red
description: pink
author: foo
since it doesn't have blue.
I can do this by also specifying that "red" and "blue" match the "_all"
field (using the AND operator for "red blue". BUT I would like to NOT use
the _all field...
is it possible for me to? Can't figure out how to do this without using
the _all field....
Hair extensions and hairpieces really can help to improve the looking of people and help to change them a lot hair extensions and hairpieces if choosing the right type and right style of hair wigs for you, of course that you will look and become more and more attractive and also buy cheap hair wigs now is easy as you can just get the ideal style that you want online at online shops now. I have just buy me a bang wigs and it is perfect.
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.