lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Rafalovitch <arafa...@gmail.com>
Subject Re: Custom handler/content stream loader
Date Wed, 24 Aug 2016 03:04:37 GMT
Have you tried starting with the DelimitedPayloadTokenFilterFactory?
There is a sample configuration in the shipped examples:
https://github.com/apache/lucene-solr/blob/releases/lucene-solr/6.1.0/solr/example/example-DIH/solr/db/conf/managed-schema#L625

Regards,
    Alex.
----
Newsletter and resources for Solr beginners and intermediates:
http://www.solr-start.com/


On 24 August 2016 at 04:22, Jamie Johnson <jej2003@gmail.com> wrote:
> I have a need to build custom field types that store additional metadata at
> the field level in a payload.  I was thinking that I could satisfy this by
> building a custom UpdateRequest that captured this additional information
> in XML, but I am not really sure how to get at this additional information
> on the server side.  Would I need to implement a custom RequestHandler to
> handle the update, could I add a custom ContentStreamLoader to parse the
> XML, how do I customize the creation of the lucene document once I have the
> XML?  Any help/direction would really be appreciated.
>
> -Jamie

Mime
View raw message