Seems like Solr’s QueryElevationComponent is what would suit your needs here.

Or, perhaps, adding something like this to your request:  bq={!terms 
f=id}3,5,6,8,9


—
Erik Hatcher, Senior Solutions Architect
http://www.lucidworks.com <http://www.lucidworks.com/>




> On Oct 6, 2015, at 7:45 AM, aniljayanti <aniljaya...@yahoo.co.in> wrote:
> 
> Hi Erik,
> 
> thanks for your response, let me explain briefly.
> 
> i wanted to make 5 employee id's as a priority id's. so every time when i am
> searching with specific keyword, then i want to append these 5 employee id's
> as first 5 results to the search results.
> 
> example : 
> 
> let's take 3,5,6,8,9 are priority employee id's.
> when i am searching with specific keyword then got 4 docs (employee id's are
> 1,2,4,7) as results. 
> then i want to display the final result as below.
> 
> final result : 3,5,6,8,9,1,2,4,7
> 
> Please suggest me.
> 
> Thanks.
> 
> AnilJayanti
> 
> 
> 
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Filter-first-components-result-in-solr-SearchHandler-tp4232892p4232926.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to