Is there a Field/FieldType property to enable storing of term vector payloads?

2014-03-21 Thread Daniel Jamrog
I see properties to enable term vectors, positions and offsets, but didn't find one for payloads? Did I just miss it? If not, is this something that may be added in the future? Thanks

Re: Is there a Field/FieldType property to enable storing of term vector payloads?

2014-03-21 Thread Doug Turnbull
Daniel, I had a similar issue. The option is not in the normal FieldType, so I had to create my own FieldType in a Solr plugin that enabled payloads in term vectors. This mostly involved extending TextField, copy pasting createField from FieldType (TextField's parent class) and adding the one line

Re: Is there a Field/FieldType property to enable storing of term vector payloads?

2014-03-21 Thread Daniel Jamrog
Doug, thanks for the quick reply! I have a separate question: The FieldType I was using when I ran into this happened to be a PreAnalyzedField. I tried to specify an alternate parser to be used instead of the default JsonPreAnalyzedParser. To do this, I added the parameter parserImpl to my