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 FieldTypes
Date Wed, 22 Mar 2017 18:21:35 GMT
Can this be done at the UpdateRequestProcessor stage?

Regards,
    Alex


On 22 Mar 2017 1:48 PM, "Ronald Wood" <rwood@smarsh.com> wrote:

I have been mulling over the usefulness of a new Hash field type for being
able to validate data that is indexed but not stored. Basically, I’d use
copy directives to copy all fields to be hashed to the new hash field and
store a SHA-256 hash as a string. I’m still not sure how valuable it would
for us. Maybe someone has already done something similar?

However, I was wondering in general about how one would go about
implementing and integrating a few FieldType.

Looking at UUIDField<https://github.com/apache/lucene-solr/blob/
master/solr/core/src/java/org/apache/solr/schema/UUIDField.java> as an
example, the work seems moderate. But then the question is, how would I
integrate it? Just drop in a new jar with the class or does it have to be
integrated into Solr as a proper commit?

If it were valuable for others, I would love to contribute it, should we go
ahead with it. But I already have had trouble getting our Legal Dept. to
give the go ahead to contribute the code that worked for re-indexing
docValues in place (SOLR-9437). ☹

-Ronald S. Wood

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message