Index of Hit in MultiValue fields

2015-05-26 Thread Rodolfo Zitellini
Dear List, In my schema I have a couple multi value fields and I would need to retrive the index of which one generated a match. For example let's suppose I have a text field like this with three values: MyField: [0] Red [1] Blue [2] Green Searching for "Blue" gets me the document, but I would al

Find out which MultiValued field got a hit (and a custom highlighter)

2015-04-20 Thread Rodolfo Zitellini
Dear List, I have been studying Solr to build up an index of musical incipit encoded as strings into bibliographical record to retrofit this kind of search into an existing database. Basically we store the incipit data (filtered through a custom TokenFilter) as a multi valued field (one for each di