You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/09/01 23:20:00 UTC

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

    [ https://issues.apache.org/jira/browse/LUCENE-10082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17408424#comment-17408424 ] 

ASF subversion and git services commented on LUCENE-10082:
----------------------------------------------------------

Commit ee7a719dd8a3ba523e084d9f98fe6c5ed07d0cdd in lucene's branch refs/heads/main from Michael Sokolov
[ https://gitbox.apache.org/repos/asf?p=lucene.git;h=ee7a719 ]

LUCENE-10082: add detail to schema inconsistency error messages


> 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
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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 beyond which field/docid is the problem. For example I found it very useful to know 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