we use Solr to describe datasets with several metadata (title, authors, description, etc). We copy all these metadata in the Text field to offer a default search to our end-users so they can make a search on all metadata in one search :

<field name="idx_title" type="text_simple" indexed="true" stored="true" multiValued="true" required="true"/> <field name="idx_abstract" type="text_general" indexed="true" stored="true" multiValued="true"/>

<copyField source="idx_title" dest="text"/>
<copyField source="idx_abstract" dest="text"/>

We can then query the default Text field in this way :


Is there a way to boost the Title field copied in the Text Field ? So the dataset that contain the word "fish" in their title will be displayed first ?

I have find some information about the boost option in Solr but I cant' find if it is possible to boost a field copied in the Text field ?


Fred Merceur

Reply via email to