If the 2 clauses are in the same level , and in the second level i have the
operator set to "OR". I will get results , (even if they are not high
rated) , that have for instance "sharp" in the manufacturer but are not
televisions.
Is there an opiton to use a nested query ?
Roman
On Thursday, December 6, 2012 12:12:25 PM UTC+2, David Pilato wrote:
Hi Roman,
What not using a MatchQuery on each field and use a boost factor for the
Match query on manufacturer?
Does it help?
David
Le 6 décembre 2012 à 10:42, Roman Kournjaev <kour...@gmail.com<javascript:>>
a écrit :
Hi dear ES community
I am trying to achive some query functionallity from ES , and not sure
how to do that right.
So i have a large product index.
And I would like to query for :
Query for products that have "sharp televisions" in "name"
Then i would like lucene to order the results from 1 by having also
"sharp televisions" in their "manufacturer" field
I looks to me like a nested query , get all the results from 1 and apply
the function from 2 on them.
On Thursday, December 6, 2012 5:18:11 AM UTC-5, Roman Kournjaev wrote:
Hi David
Not sure it will return me the results I need.
If the 2 clauses are in the same level , and in the second level i have
the operator set to "OR". I will get results , (even if they are not high
rated) , that have for instance "sharp" in the manufacturer but are not
televisions.
Is there an opiton to use a nested query ?
Roman
On Thursday, December 6, 2012 12:12:25 PM UTC+2, David Pilato wrote:
Hi Roman,
What not using a MatchQuery on each field and use a boost factor for the
Match query on manufacturer?
Does it help?
David
Le 6 décembre 2012 à 10:42, Roman Kournjaev kour...@gmail.com a
écrit :
Hi dear ES community
I am trying to achive some query functionallity from ES , and not sure
how to do that right.
So i have a large product index.
And I would like to query for :
Query for products that have "sharp televisions" in "name"
Then i would like lucene to order the results from 1 by having
also "sharp televisions" in their "manufacturer" field
I looks to me like a nested query , get all the results from 1 and
apply the function from 2 on them.
On Thursday, December 6, 2012 5:18:11 AM UTC-5, Roman Kournjaev wrote:
Hi David
Not sure it will return me the results I need.
If the 2 clauses are in the same level , and in the second level i have
the operator set to "OR". I will get results , (even if they are not high
rated) , that have for instance "sharp" in the manufacturer but are not
televisions.
Is there an opiton to use a nested query ?
Roman
On Thursday, December 6, 2012 12:12:25 PM UTC+2, David Pilato wrote:
Hi Roman,
What not using a MatchQuery on each field and use a boost factor for
the Match query on manufacturer?
Does it help?
David
Le 6 décembre 2012 à 10:42, Roman Kournjaev kour...@gmail.com a
écrit :
Hi dear ES community
I am trying to achive some query functionallity from ES , and not sure
how to do that right.
So i have a large product index.
And I would like to query for :
Query for products that have "sharp televisions" in "name"
Then i would like lucene to order the results from 1 by having
also "sharp televisions" in their "manufacturer" field
I looks to me like a nested query , get all the results from 1 and
apply the function from 2 on them.
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.