Hi Tamizhazhagan,

Please share the schema definition of those fields, solrconfig and some
sample docs that you indexed.




On Mon, Oct 4, 2021 at 8:36 PM Thamizhazhagan B <thamizhazhagan....@kp.org>
wrote:

> Hi Folks,
>
> I am new to Solr. Can you please suggest your solution for the below issue.
>
> Thanks,
> Thamizh
>
> -----Original Message-----
> From: Thamizhazhagan B <thamizhazhagan....@kp.org>
> Sent: Tuesday, October 5, 2021 2:16 AM
> To: users@solr.apache.org
> Subject: Search results priority failed using boosting
>
> Caution: This email came from outside Kaiser Permanente. Do not open
> attachments or click on links if you do not recognize the sender.
>
> ______________________________________________________________________
> Hi,
>
> We have following fields that should be prioritized as below
>
>
>   *   Name (Priority 1)
>   *   Code (Priority 2)
>   *   Description (Priority 3)
>   *   Short description (Priority 4)
>
>
> Boost query:
> bq=(Name)^50&bq=(Code)^40&bq=(Description)^30&bq=(Short description)^20
>
> Boosting is not working as Priority3 items comes to top than Priority2.
>
> Actual results in rare scenarios:
>
>
>   *   Name (Priority 1)
>   *   Description (Priority 3)
>   *   Code (Priority 2)
>   *   Short description (Priority 4
>
> So we applied constant score (^=) and also tried to give high score for
> code (P2) than Description (P3), but that also not giving expected results.
>
> Please guide me how to bring results in correct order as per priority
> using boosting consistently across all scenarios.
>
> Thanks for your support!!
>
> Thanks,
> Thamizh
>
>
>
>
> NOTICE TO RECIPIENT:  If you are not the intended recipient of this
> e-mail, you are prohibited from sharing, copying, or otherwise using or
> disclosing its contents.  If you have received this e-mail in error, please
> notify the sender immediately by reply e-mail and permanently delete this
> e-mail and any attachments without reading, forwarding or saving them.
> v.173.295  Thank you.
>

Reply via email to