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

David Smiley commented on SOLR-15356:
-------------------------------------

org.apache.solr.client.solrj.MergeIndexesEmbeddedTest: When merging indexes by 
core reference, the code was grabbing the IndexReader that has 
UninvertingReader, which is now a problem.  In a PR I'll change it to use the 
"raw" reader.  The javadocs for SolrIndexSearcher.getRawReader even advertise 
that this method is useful for "addIndexes" (what merging indexes is).

org.apache.solr.schema.TestManagedSchemaAPI.test: The test was adding docValues 
after the index already exists.  In a PR I'll change the test to toggle 
"uninvertible" and have it demonstrate it has an effect.


> Lucene requires consistency across fields
> -----------------------------------------
>
>                 Key: SOLR-15356
>                 URL: https://issues.apache.org/jira/browse/SOLR-15356
>             Project: Solr
>          Issue Type: Task
>          Components: Schema and Analysis
>    Affects Versions: main (9.0)
>            Reporter: David Smiley
>            Assignee: David Smiley
>            Priority: Blocker
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> LUCENE-9334 requires more consistency across fields (Lucene 9).  We must 
> accommodate this in some tests which started failing.  Example: 
> org.apache.solr.index.UninvertDocValuesMergePolicyTest
> "cannot change field "string_add_dv_later" from doc values type=NONE to 
> inconsistent doc values type=SORTED"
> From 
> org.apache.lucene.index.FieldInfo.verifySameDocValuesType(FieldInfo.java:271)



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to