[ 
https://issues.apache.org/jira/browse/SOLR-8396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tomás Fernández Löbbe updated SOLR-8396:
----------------------------------------
    Attachment: SOLR-8396.patch

New patch:
* Added some errors when using point fields for unsupported cases (e.g. when 
faceting on a point field with no doc values). For now I'm considering those 
bad requests, but I don't know if we'll be able to consider all invalid cases 
and error gracefully, cases like FunctionQueries may not be easy (currently for 
faceting on a function query that has a point field with no DV will be a 500 
for example, and the error is an IllegalStateException by Lucene).
* Grouping still doesn't work with PointFields.
* Added some more test coverage by making the test schema.xml use point fields. 
I plan to also add this to other test schemas when applicable. Ideally tests 
would randomly use "Legacy" or "Point" when dv=true
* Since field boost is not supported, right now I'm throwing an exception if 
used, but this makes index-time document boosting practically useless, so I 
think I should change the exception to a log message only and just omit the 
boost. 
* Still only for int fields, lots of nocommits and a code refactor required

> Investigate PointField to replace NumericField types
> ----------------------------------------------------
>
>                 Key: SOLR-8396
>                 URL: https://issues.apache.org/jira/browse/SOLR-8396
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Ishan Chattopadhyaya
>         Attachments: SOLR-8396.patch, SOLR-8396.patch, SOLR-8396.patch, 
> SOLR-8396.patch
>
>
> In LUCENE-6917, [~mikemccand] mentioned that DimensionalValues are better 
> than NumericFields in most respects. We should explore the benefits of using 
> it in Solr and hence, if appropriate, switch over to using them.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to