How can I set up Retrieve and Rank with a dictionary / domain definition model?

We are trying to combine phrases together to improve results.

For example, if a user asks a question like "When do I need to change the filter of my air conditioner?" with a specific domain phrase, such as “air conditioning,” R & R returns some responses containing the term “air” and not “conditioning”, or returns answers containing other terms, such as an air bag or air filter.

This can be accomplished using a raw Solr instance and setting the phrase between quotation marks. Thus, the Solr request will look like this:

...     
"debug": {
    "rawquerystring": "When do I have to change the filter of my \"air conditioning\" ?",
    "querystring": "When do I have to change the filter of my \"air conditioning\" ?",
    "parsedquery": "text:when text:do text:i text:have text:to text:change text:the text:filter text:of text:my PhraseQuery(text:\"air conditioning\") text:?",
    "parsedquery_toString": "text:when text:do text:i text:have text:to text:change text:the text:filter text:of text:my text:\"air conditioning\" text:?",      
...

However, the R & R guide indicates:

Solr :

. , Solr, , .

.

, , . , , , ? ? ?

+4
1

RnR , , . , solr ( ) .

+3

All Articles