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

Reply via email to