You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Michael Sokolov (Jira)" <ji...@apache.org> on 2021/09/01 12:30:00 UTC

[jira] [Created] (LUCENE-10082) Improve error messages relating to schema consistency enforcement

Michael Sokolov created LUCENE-10082:
----------------------------------------

             Summary: Improve error messages relating to schema consistency enforcement
                 Key: LUCENE-10082
                 URL: https://issues.apache.org/jira/browse/LUCENE-10082
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Michael Sokolov


I recently went through the process of upgrading our service to use Lucene 9 and had to track down a few places where we failed the consistency check. I have some questions about the enforcement, but I'll raise those elsewhere - this issue is just a call to improve the error messages since currently they don't provide much context for the user to chase down which field is the problem, and what the precise problem is (is it indexing options, or vector dimension, or what?)  I predict a lot of users are going to hit this - it is very natural to use fields differently in different documents if you have different types of documents, and the more support we can provide for at least understanding what is going on, the better.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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