You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by uwe72 <uw...@exxcellent.de> on 2013/10/16 11:36:10 UTC
Boosting a field with defType:dismax --> No results at all
Hi there,
i want to boost a field, see below.
If i add the defType:dismax i don't get results at all anymore.
What i am doing wrong?
Regards
Uwe
<requestHandler name="/select" class="solr.SearchHandler">
<lst name="defaults">
<str name="omitHeader">true</str>
<str name="df">text</str>
<str name="q.op">AND</str>
<str name="spellcheck.dictionary">default</str>
<str name="spellcheck">true</str>
<str name="spellcheck.extendedResults">true</str>
<str name="spellcheck.count">1</str>
<str name="spellcheck.maxResultsForSuggest">100</str>
<str name="spellcheck.collate">true</str>
<str name="spellcheck.collateExtendedResults">true</str>
<str name="spellcheck.maxCollations">1</str>
<str name="defType">dismax</str>
<str name="qf">
SignalImpl.baureihe^1011 text^0.1
</str>
</lst>
<arr name="last-components">
<str>spellcheck</str>
</arr>
</requestHandler>
--
View this message in context: http://lucene.472066.n3.nabble.com/Boosting-a-field-with-defType-dismax-No-results-at-all-tp4095850.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: AW: Boosting a field with defType:dismax --> No results at all
Posted by uwe72 <uw...@exxcellent.de>.
We have just one more Problem:
When we search explicit, like *:* or partNumber:A32783627 we still don’t get
any results.
What we are doing here wrong?
--
View this message in context: http://lucene.472066.n3.nabble.com/Boosting-a-field-with-defType-dismax-No-results-at-all-tp4095850p4095918.html
Sent from the Solr - User mailing list archive at Nabble.com.
AW: Boosting a field with defType:dismax --> No results at all
Posted by uwe72 <uw...@exxcellent.de>.
Perfect!!! THANKS A LOT
That was the mistake.
Von: Jack Krupansky-2 [via Lucene]
[mailto:ml-node+s472066n4095901h4@n3.nabble.com]
Gesendet: Mittwoch, 16. Oktober 2013 14:55
An: uwe72
Betreff: Re: Boosting a field with defType:dismax --> No results at all
Get rid of the newlines before and after the value of the qf parameter.
-- Jack Krupansky
-----Original Message-----
From: uwe72
Sent: Wednesday, October 16, 2013 5:36 AM
To: [hidden email]
Subject: Boosting a field with defType:dismax --> No results at all
Hi there,
i want to boost a field, see below.
If i add the defType:dismax i don't get results at all anymore.
What i am doing wrong?
Regards
Uwe
<requestHandler name="/select" class="solr.SearchHandler">
<lst name="defaults">
<str name="omitHeader">true</str>
<str name="df">text</str>
<str name="q.op">AND</str>
<str name="spellcheck.dictionary">default</str>
<str name="spellcheck">true</str>
<str name="spellcheck.extendedResults">true</str>
<str name="spellcheck.count">1</str>
<str name="spellcheck.maxResultsForSuggest">100</str>
<str name="spellcheck.collate">true</str>
<str name="spellcheck.collateExtendedResults">true</str>
<str name="spellcheck.maxCollations">1</str>
<str name="defType">dismax</str>
<str name="qf">
SignalImpl.baureihe^1011 text^0.1
</str>
</lst>
<arr name="last-components">
<str>spellcheck</str>
</arr>
</requestHandler>
--
View this message in context:
http://lucene.472066.n3.nabble.com/Boosting-a-field-with-defType-dismax-No
-results-at-all-tp4095850.html
Sent from the Solr - User mailing list archive at Nabble.com.
_____
If you reply to this email, your message will be added to the discussion
below:
http://lucene.472066.n3.nabble.com/Boosting-a-field-with-defType-dismax-No
-results-at-all-tp4095850p4095901.html
To unsubscribe from Boosting a field with defType:dismax --> No results at
all, click here
<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubsc
ribe_by_code&node=4095850&code=dXdlLmNsZW1lbnRAZXh4Y2VsbGVudC5kZXw0MDk1ODU
wfC0yOTkxOTMwMjI=> .
<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_v
iewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.Ba
sicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.temp
late.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-in
stant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.nam
l> NAML
--
View this message in context: http://lucene.472066.n3.nabble.com/Boosting-a-field-with-defType-dismax-No-results-at-all-tp4095850p4095906.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: AW: Boosting a field with defType:dismax --> No results at all
Posted by uwe72 <uw...@exxcellent.de>.
Works like this?
<str name="defType">edismax</str>
<str name="qf">SignalImpl.baureihe^1011 text^0.1</str>
Another option:
How about just but to the desired fields a high boosting factor while adding
the field to the document, using solr?!
Can this work?
--
View this message in context: http://lucene.472066.n3.nabble.com/Boosting-a-field-with-defType-dismax-No-results-at-all-tp4095850p4095938.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: AW: Boosting a field with defType:dismax --> No results at all
Posted by Jack Krupansky <ja...@basetechnology.com>.
dismax doesn't support wildcard, fuzzy, or fielded terms. edismax does.
My e-book details differences between the query parsers.
-- Jack Krupansky
-----Original Message-----
From: uwe72
Sent: Wednesday, October 16, 2013 12:26 PM
To: solr-user@lucene.apache.org
Subject: AW: Boosting a field with defType:dismax --> No results at all
We have just one more Problem:
When we search explicit, like *:* or partNumber:A32783627 we still don't
get any results.
What we are doing here wrong?
--
View this message in context:
http://lucene.472066.n3.nabble.com/Boosting-a-field-with-defType-dismax-No-results-at-all-tp4095850p4095927.html
Sent from the Solr - User mailing list archive at Nabble.com.
AW: Boosting a field with defType:dismax --> No results at all
Posted by uwe72 <uw...@exxcellent.de>.
We have just one more Problem:
When we search explicit, like *:* or partNumber:A32783627 we still don't
get any results.
What we are doing here wrong?
--
View this message in context: http://lucene.472066.n3.nabble.com/Boosting-a-field-with-defType-dismax-No-results-at-all-tp4095850p4095927.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Boosting a field with defType:dismax --> No results at all
Posted by Jack Krupansky <ja...@basetechnology.com>.
Get rid of the newlines before and after the value of the qf parameter.
-- Jack Krupansky
-----Original Message-----
From: uwe72
Sent: Wednesday, October 16, 2013 5:36 AM
To: solr-user@lucene.apache.org
Subject: Boosting a field with defType:dismax --> No results at all
Hi there,
i want to boost a field, see below.
If i add the defType:dismax i don't get results at all anymore.
What i am doing wrong?
Regards
Uwe
<requestHandler name="/select" class="solr.SearchHandler">
<lst name="defaults">
<str name="omitHeader">true</str>
<str name="df">text</str>
<str name="q.op">AND</str>
<str name="spellcheck.dictionary">default</str>
<str name="spellcheck">true</str>
<str name="spellcheck.extendedResults">true</str>
<str name="spellcheck.count">1</str>
<str name="spellcheck.maxResultsForSuggest">100</str>
<str name="spellcheck.collate">true</str>
<str name="spellcheck.collateExtendedResults">true</str>
<str name="spellcheck.maxCollations">1</str>
<str name="defType">dismax</str>
<str name="qf">
SignalImpl.baureihe^1011 text^0.1
</str>
</lst>
<arr name="last-components">
<str>spellcheck</str>
</arr>
</requestHandler>
--
View this message in context:
http://lucene.472066.n3.nabble.com/Boosting-a-field-with-defType-dismax-No-results-at-all-tp4095850.html
Sent from the Solr - User mailing list archive at Nabble.com.