Good day
currently I have a field defined as can be seen below:
<fieldtype name="payloads" stored="false" indexed="true" class="solr.TextField">
<analyzer>
<tokenizer class="solr.WhitespaceTokenizerFactory" />
<filter class="solr.DelimitedPayloadTokenFilterFactory" delimiter="|"
encoder="identity" />
</analyzer>
</fieldtype>
<field name="payload" type="payloads" indexed="true" stored="true" />
Basically the content for that field has the following form:
"Wiedersehn|x1062y1755 macht|x1340y1758 Freude|x1502y1758"
where the stuff after the pipe is the payload data (some coordinates). What I
want is to get that payload data at query time.
E.g. I search for "macht" and in the result document from solr there will be the payload
data "x1340y1758".
Is there a way out of the box with solr. I have done this in plain lucene once
with the TermPositions, so I know it might be possible to adopt this to solr.
Silvio