Boost query at search time according set of roles with least performance impact

2015-11-06 Thread Andrea Roggerone
Hi all, I am working on a mechanism that applies additional boosts to documents according to the role covered by the author. For instance we have CEO|5 Architect|3 Developer|1 TeamLeader|2 keeping in mind that an author could cover multiple roles (e.g. for a design document, a Team Leader could

Re: How to show some documents ahead of others

2015-10-08 Thread Andrea Roggerone
Hi guys, I don't think that sorting is a good solution in this case as it doesn't allow any meaningful customization.I believe that the advised QueryElevationComponent is one of the viable alternative. Another one would be to boost at query time a particular field, like for instance paid. That

Re: How to show some documents ahead of others

2015-10-08 Thread Andrea Roggerone
On Thu, Oct 8, 2015 at 3:39 PM, Alessandro Benedetti < benedetti.ale...@gmail.com> wrote: > Is it possible to understand better this : "as it doesn't > allow any meaningful customization " ? > > Cheers > > On 8 October 2015 at 15:27, Andrea Roggerone < > andr

Re: Reverse query?

2015-10-02 Thread Andrea Roggerone
Hi Remy, The question is not really clear, could you explain a little bit better what you need? Reading your email I understand that you want to get documents containing all the search terms typed. For instance if you search for "Mad Max", you wanna get documents containing both Mad and Max. If

Re: Reverse query?

2015-10-02 Thread Andrea Roggerone
Iam assuming the field where you store the data is analyzed. > >> The field definition might help us answer your question better. If you > are > >> using edismax handler for your search requests, I believe you can > achieve > >> you goal by setting set your "mm"

Does bf for eDismax use DocValue or FieldCache?

2016-02-10 Thread Andrea Roggerone
Hi, I need to boost documents at runtime according to a set of roles and related ids. For instance I would have the fields: ceo:1234-abcd-5678-poiu tl:-abcd-5678-abc and a set of boosts to apply a runtime, for instance ceo = 10 tl = 5 I don't want to do any complex operation with the weights

Are fieldCache and/or DocValues used by Function Queries

2016-02-11 Thread Andrea Roggerone
Hi, I need to evaluate different boost solutions performance and I can't find any relevant documentation about it. Are fieldCache and/or DocValues used by Function Queries?

Read payload in Solr

2016-02-24 Thread Andrea Roggerone
Hi all, I am indexing the payload in Solr as advised in https://lucidworks.com/blog/2014/06/13/end-to-end-payload-example-in-solr/ and I am also able to search for it. What I want to do now is getting the payload within my Solr custom function to do some calculation however I can see just methods