Thank you Emir.

Alexandre Drouin


-----Original Message-----
From: Emir Arnautovic [mailto:emir.arnauto...@sematext.com] 
Sent: September 2, 2016 5:32 AM
To: solr-user@lucene.apache.org
Subject: Re: Always add the marker when elevating documents
Importance: High

Hi Alexandre,

You can specify default fl paramter for search handler in Solr config. 
You can use *,[elevated] to return all fields + elevated, but it is recommended 
to limit fl to fields needed - if you truly need all fields, then using * is ok.

Regards,
Emir


On 01.09.2016 22:11, Alexandre Drouin wrote:
> Hi,
>
> I followed the instructions on the wiki 
> (https://wiki.apache.org/solr/QueryElevationComponent) to add a 
> QueryElevationComponent searchComponent in my Solr 4.10.2 server and it is 
> working as expected.
>
> I saw in the documentation that it is possible to see which documents were 
> elevated by adding [elevated] to the fl parameter and I would like to know if 
> there is a way to always have the [elevated] property the results without 
> having to add it to the fl parameter.
> If it is not possible, is it safe to use "fl=*,[elevated]" to specify all 
> fields plus the elevated marker?
>
> Thanks!
> Alexandre Drouin

--
Monitoring * Alerting * Anomaly Detection * Centralized Log Management Solr & 
Elasticsearch Support * http://sematext.com/

Reply via email to