I have a request "A B C" where A, B and C are 3 common words. this words
are present in a lot of documents.
The most important document for this request contain the 3 words one time
and they are adjacent.
The document has a bad score and I would like to boost it.
Any idea ? Is-it possible to apply a word distance boost ? Is it possible
to index "A B C" has one word ?
Will phrase query help in your case ? You can configure slop, which gives you control over how distant the words can be from each other to consider them as a phrase. Wrapping that with a custom score would boost the documents you are interested in.
On Friday, December 21, 2012 3:51:59 PM UTC+1, Rafał Kuć wrote:
Hello!
Will phrase query help in your case ? You can configure slop, which gives
you control over how distant the words can be from each other to consider
them as a phrase. Wrapping that with a custom score would boost the
documents you are interested in.
*--
Regards,
Rafał Kuć
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch -
Elasticsearch
Hi,
I will try to explain my problem:
I have a request "A B C" where A, B and C are 3 common words. this words
are present in a lot of documents.
The most important document for this request contain the 3 words one time
and they are adjacent.
The document has a bad score and I would like to boost it.
Any idea ? Is-it possible to apply a word distance boost ? Is it possible
to index "A B C" has one word ?
Now I want to combine the queries. If I understand your answer I should use
the custom score but I am not sure to understand how it works.
On Friday, December 21, 2012 3:51:59 PM UTC+1, Rafał Kuć wrote:
Hello!
Will phrase query help in your case ? You can configure slop, which gives
you control over how distant the words can be from each other to consider
them as a phrase. Wrapping that with a custom score would boost the
documents you are interested in.
*--
Regards,
Rafał Kuć
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch -
Elasticsearch
Hi,
I will try to explain my problem:
I have a request "A B C" where A, B and C are 3 common words. this words
are present in a lot of documents.
The most important document for this request contain the 3 words one time
and they are adjacent.
The document has a bad score and I would like to boost it.
Any idea ? Is-it possible to apply a word distance boost ? Is it possible
to index "A B C" has one word ?
Now I want to combine the queries. If I understand your answer I should
use the custom score but I am not sure to understand how it works.
On Friday, December 21, 2012 3:51:59 PM UTC+1, Rafał Kuć wrote:
Hello!
Will phrase query help in your case ? You can configure slop, which gives
you control over how distant the words can be from each other to consider
them as a phrase. Wrapping that with a custom score would boost the
documents you are interested in.
*--
Regards,
Rafał Kuć
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch -
Elasticsearch
Hi,
I will try to explain my problem:
I have a request "A B C" where A, B and C are 3 common words. this words
are present in a lot of documents.
The most important document for this request contain the 3 words one
time and they are adjacent.
The document has a bad score and I would like to boost it.
Any idea ? Is-it possible to apply a word distance boost ? Is it possible
to index "A B C" has one word ?
Now I want to combine the queries. If I understand your answer I should
use the custom score but I am not sure to understand how it works.
On Friday, December 21, 2012 3:51:59 PM UTC+1, Rafał Kuć wrote:
Hello!
Will phrase query help in your case ? You can configure slop, which
gives you control over how distant the words can be from each other to
consider them as a phrase. Wrapping that with a custom score would boost
the documents you are interested in.
*--
Regards,
Rafał Kuć
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch -
Elasticsearch
Hi,
I will try to explain my problem:
I have a request "A B C" where A, B and C are 3 common words. this words
are present in a lot of documents.
The most important document for this request contain the 3 words one
time and they are adjacent.
The document has a bad score and I would like to boost it.
Any idea ? Is-it possible to apply a word distance boost ? Is it
possible to index "A B C" has one word ?
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.