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 Furkan KAMACI <fu...@gmail.com> on 2014/04/07 15:35:03 UTC
Eactly Mathcing for Elevator
I've defined a elevator as like that:
<elevate>
<query text="rüna telecom">
<doc id="id1" />
</query>
<query text="rünatelecom">
<doc id="id1" />
</query>
<query text="runa telecom">
<doc id="id1" />
</query>
<query text="runatelecom">
<doc id="id1" />
</query>
</elevate>
When I send a query it gives error
of: org.apache.solr.common.SolrException: Boosting query defined twice for
query
When I check the source code it says:
map.containsKey( elev.analyzed )
What I want is that:
when a user enters a query i.e.:
rüna telecom
I want to show id1. But not when a user enters that:
telecom
I do not want to elevate it?
Thanks;
Furkan KAMACI