lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Michael Engelke <>
Subject Solr: Elevate with complex query specifying field names
Date Sun, 31 May 2015 13:10:55 GMT

I have Solr as the backend to an ECommerce solution where the fields can
be configured to be searchable, which generates a schema.xml and loads
it into Solr. 

Now we also allow to configure Solr search weight per field to affect
queries, so my queries usually look something like this: 


Now, I want to add query elevation to my mix. I got it to work pretty
flawlessly, however, I'm not sure how to get it to work with my queries
as they specifically state field names and especially boosts on a
regular basis. 

This works and gets elevated when queried as q=test: 

 <query text="test">
 <doc id="14153" />

However, when queried as q=name:test^10.00, this elevation does not
work/doesn't elevate. 

Is there a way around that? Can I specify the naked query somehow for
the elevation component? 
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message