[TYPO3-Solr] query.boostQuery or query.boostFunction for custom doktype(s)
Hendrik Nadler
nadler at simplethings.de
Tue Sep 18 12:06:53 CEST 2012
Hi,
okay thanks a lot, your answer explains the current behavior.
>> "Boost functions work by multiplying the result. These have a very distinct effect which is not depending on the score of the user query."
So do I get this right, I should prefer using a boost function, because its somewhat more "powerful" for my needs (X is way more important than Y than Z)? Does anybody by any chance have an example for such a query?
Thx & regards, Hendrik
-----Ursprüngliche Nachricht-----
Von: Jigal van Hemert [mailto:jigal.van.hemert at typo3.org]
Gesendet: Montag, 17. September 2012 19:10
An: typo3-project-solr at lists.typo3.org
Betreff: Re: [TYPO3-Solr] query.boostQuery or query.boostFunction for custom doktype(s)
Hi,
On 17-9-2012 17:36, Hendrik Nadler wrote:
> Works fine for me, but how do I add multiple boostQueries like
> "(myDoktype_intS:44)^10, (myDoktype_intS:33)^9, (myDoktype_intS:55)^8"
> ?
>
> Do I need a boostFunction here? Im stuck...
Boost queries can be space separated. They work by adding to the overall score of the user query. The tricky thing is that the score of the user query may change when other settings are changed. You would also need to debug a lot of queries to get an impression about the maximum score and now how much you need to boost.
Boost functions work by multiplying the result. These have a very distinct effect which is not depending on the score of the user query.
--
Jigal van Hemert
TYPO3 Core Team member
TYPO3 .... inspiring people to share!
Get involved: typo3.org
_______________________________________________
TYPO3-project-solr mailing list
TYPO3-project-solr at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-solr
More information about the TYPO3-project-solr
mailing list