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

Michael McCandless commented on LUCENE-7314:
--------------------------------------------

bq. I mean... if we have spatial module(s), who would think to go looking in 
core?

Hmm I see the situation reversed.  I suspect new users would start with 
Lucene's core, expecting to find usable defaults there for common use cases, as 
we have done with our codecs.  And only if they can't find what they need 
there, would they say "hmm, where else can I look".  We don't see users today 
being confused that our best default codec is in core, not in the codecs 
module.  It just works :)

With {{LatLonPoint}} in core we would have javadocs there that point you to the 
spatial/spatial-extras to do more expert things like shape indexing.

Experts can go digging through other modules, but the 90% use cases really 
should be covered by core: simple things should be simple and complex things 
should be possible.

I think this transition (putting a good default for a common use case in core) 
is maybe also just a sign of enough maturity: spatial has gone through so many 
iterations over the years, and I think finally this incarnation meets all the 
right criteria to be a good core default.  Really the addition of dimensional 
points to Lucene's core already reflects this maturity.

In fact, I think there are other modules that have "matured" classes that would 
make good defaults in core: {{StandardAnalyzer}} has progressed so much (it now 
in fact does implement a Unicode "standard") that it is a great default 
analyzer; {{SimpleQueryParser}} would be a great default; maybe 
{{PostingsHighlighter}}, etc.

> Graduate InetAddressPoint and LatLonPoint to core
> -------------------------------------------------
>
>                 Key: LUCENE-7314
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7314
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Minor
>
> Maybe we should graduate these fields (and related queries) to core for 
> Lucene 6.1?



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

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

Reply via email to