Re: [MASSMAIL]Re: How to boost query based on result of subquery?

2016-02-20 Thread Jorge Luis Betancourt González
Hi Rajesh, Have you taked a look on Query Re-Ranking? The idea is a little different of what you want but i think it should work, essentially you use your normal search query and then re-rank the top-n documents using a sencod query, this second query could use the position field to influence

Re: How to boost query based on result of subquery?

2016-02-20 Thread Edward P
Hi Rajesh, Thanks for the input but this does not directly address my problem. Currently I am not having an issue with loading the "position" values into my documents. They are indexed as regular fields with the rest of the document. It is a good tip about ExternalFileField. I might use that

Re: How to boost query based on result of subquery?

2016-02-19 Thread Rajesh Hazari
Hi Ed, Did you look into ExternalFilefield type (for ex: with name :: position_external_field in your schema), which can be used to map to your field (for ex position, hope these are not changed very often) and then use position_external_field in your boost function. This can be used if you

How to boost query based on result of subquery?

2016-02-19 Thread Edward P
Hello, I am using Solr 5.4.0, one collection, multiple shards with replication. Sample documents: { "item_id": "30d1e667", "date": "2014-01-01", "position": "5", "description": "automobile license plate holder" } { "item_id": "3cf18028", "date": "2013-01-01", "position": "23", "description":