custom function for multivalued fields

2015-07-29 Thread Gopal Jee
I have a requirement where i want to maintain a multivalued field. However, at query time, i want to query on only one value we store in multivalued field. That one value should be output of a custom function which should execute on all values of multivalued field at query time. Can we write such

Re: custom function for multivalued fields

2015-07-29 Thread Chris Hostetter
Thanks to the SortedSetDocValues this is in fact possible -- in fact i just uploaded a patch for SOLR-2522 that you can take a look at to get an idea of how to make it work (the main class you're probably going to want to look at is SortedSetSelector: you're going to want a similar

Re: custom function for multivalued fields

2015-07-29 Thread Gopal Jee
Thanks Chris. On Thu, Jul 30, 2015 at 5:36 AM, Chris Hostetter hossman_luc...@fucit.org wrote: Thanks to the SortedSetDocValues this is in fact possible -- in fact i just uploaded a patch for SOLR-2522 that you can take a look at to get an idea of how to make it work (the main class you're