You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2018/05/31 22:08:00 UTC

[jira] [Created] (LUCENE-8342) Can we enforce more properties on fields like uniquness

Simon Willnauer created LUCENE-8342:
---------------------------------------

             Summary: Can we enforce more properties on fields like uniquness 
                 Key: LUCENE-8342
                 URL: https://issues.apache.org/jira/browse/LUCENE-8342
             Project: Lucene - Core
          Issue Type: New Feature
    Affects Versions: master (8.0)
            Reporter: Simon Willnauer


This is a spin-off from LUCENE-8335 where we discuss adding a boolean to FieldInfo to check if the field is used for soft deletes. This has been a a very delicate line we drew in the past but if we take a step back and think about how we'd design a feature like IW#updateDocument(Term, Document) today would we allow passing different fields to this API? It's just one example ie. storing floats and ints in the same DV field is a different one. I personally think it would be a good idea to be more strict on that end and I wonder what others think.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org