Hi Solr users,

Further to the below, elevation with match="subset" does not appear to work in 
the techproducts example for:

  *   Solr 9.3.0
  *   Solr 8.11.2
  *   Solr 8.3.0 (when match="subset" was introduced)

If anybody can shed any light on why this might be (or has seen this feature 
working!) please let me know. Otherwise I will file a bug report.

Thanks in advance for your help

Thomas
________________________________
From: Tom Chopin <tomcho...@hotmail.com>
Sent: 25 July 2023 12:42
To: users@solr.apache.org <users@solr.apache.org>
Subject: Quick question about elevated results

Hello Solr users,

Please help with the following query about elevation in Solr 9.3.0.

Elevation doesn't seem to get much attention in the mailing list archives, or 
Stack Overflow, so I'm wondering if I've found a bug.

My docs are related to dentistry and my elevate.xml looks like this:

<elevate>
  <query text="drill" match="subset">
    <doc id="38" />
  </query>
</elevate>

When my query is only for the word "drill", the doc with ID 38 is elevated as 
expected. So elevation is definitely working.

When my query is for the phrase "drill teeth", I would expect this to be 
elevated too, because match is set to "subset".

However the elevation is ignored and nothing is elevated. Why is the subset 
parameter not behaving like the docs suggest?

Thanks in advance!

Best regards

Thomas

Reply via email to