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

Hoss Man commented on SOLR-10807:
---------------------------------

FWIW, here's a handy oneliner for replacing Trie fieldType declarations with 
the new randomized variables into some (subset of) schema files...

{noformat}
find -name \*schema\* -type f | xargs perl -i -ple 
's/class="solr.TrieIntField"/class="solr.TrieIntegerField"/g; 
s/class="solr.Trie(.*)Field"/class="\${solr.tests.$1FieldType}"/g; unless 
(/docValues/) { s/(class="\${solr.tests..*FieldType}")/$1 
docValues="\${solr.tests.numeric.dv}"/g; }'
{noformat}

>  Randomize PointFields in all tests unless explicit reason not to
> -----------------------------------------------------------------
>
>                 Key: SOLR-10807
>                 URL: https://issues.apache.org/jira/browse/SOLR-10807
>             Project: Solr
>          Issue Type: Task
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>            Priority: Blocker
>             Fix For: master (7.0)
>
>         Attachments: 
> core.test.log.fde06f34b7f9d0916a134b3efaa8780892ff8e39.txt, core.test.log.txt
>
>
> We need to seriously beef up our testing of PointFields to figure out what 
> Solr features don't currently work with PointFields.
> The existing Trie/Point randomization logic in SolrTestCaseJ4 is a good start 
> -- but only a handful of schema files leverage it.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to