You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2016/05/22 19:26:12 UTC
[jira] [Commented] (LUCENE-7295) TermAutomatonQuery.hashCode
calculates Automaton.toDot().hash
[ https://issues.apache.org/jira/browse/LUCENE-7295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15295687#comment-15295687 ]
Robert Muir commented on LUCENE-7295:
-------------------------------------
I think the historical pain here was that you can't easily impl this stuff so that equals means "same language" unless you do minimization?
Either way toDot() is crazy :)
> TermAutomatonQuery.hashCode calculates Automaton.toDot().hash
> -------------------------------------------------------------
>
> Key: LUCENE-7295
> URL: https://issues.apache.org/jira/browse/LUCENE-7295
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Dawid Weiss
> Priority: Minor
>
> This is going to be excruciatingly slow? We could at least cache the hash code once computed...
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org