lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-2548) Remove all interning of field names from flex API
Date Mon, 19 Jul 2010 04:57:49 GMT

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

Shai Erera commented on LUCENE-2548:
------------------------------------

Ohh, I see. I don't remember if I ever relied on interning for other purposes, but if that's
the only reason, then I agree there's no point in interning anymore. But perhaps we should
allow that through another API, in case someone relies on it elsewhere?

> Remove all interning of field names from flex API
> -------------------------------------------------
>
>                 Key: LUCENE-2548
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2548
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Uwe Schindler
>             Fix For: 4.0
>
>
> In previous versions of Lucene, interning of fields was important to minimize string
comparison cost when iterating TermEnums, to detect changes in field name. As we separated
field names from terms in flex, no query compares field names anymore, so the whole performance
problematic interning can be removed. I will start with doing this, but we need to carefully
review some places e.g. in preflex codec.
> Maybe before this issue we should remove the Term class completely. :-) Robert?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message