[jira] [Commented] (LUCENE-8041) All Fields.terms(fld) impls should be O(1) not O(log(N))

2019-05-16 Thread Huy Le (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-8041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16841902#comment-16841902 ] Huy Le commented on LUCENE-8041: I don't think that we can avoid paying the additional O(N) memory cost

[jira] [Comment Edited] (LUCENE-8041) All Fields.terms(fld) impls should be O(1) not O(log(N))

2019-05-16 Thread Huy Le (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-8041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16841075#comment-16841075 ] Huy Le edited comment on LUCENE-8041 at 5/16/19 7:57 AM: - I created a patch that

[jira] [Updated] (LUCENE-8041) All Fields.terms(fld) impls should be O(1) not O(log(N))

2019-05-16 Thread Huy Le (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-8041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Huy Le updated LUCENE-8041: --- Attachment: LUCENE-8041-LinkedHashMap.patch > All Fields.terms(fld) impls should be O(1) not O(log(N)) >

[jira] [Commented] (LUCENE-8041) All Fields.terms(fld) impls should be O(1) not O(log(N))

2019-05-16 Thread Huy Le (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-8041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16841075#comment-16841075 ] Huy Le commented on LUCENE-8041: I created a patch that use LinkedHashMap to maintain field name to

[jira] [Updated] (LUCENE-8800) FieldsReader#terms poor performance on a index with many field names sharing common prefix

2019-05-15 Thread Huy Le (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-8800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Huy Le updated LUCENE-8800: --- Summary: FieldsReader#terms poor performance on a index with many field names sharing common prefix (was:

[jira] [Updated] (LUCENE-8800) FieldsReader#terms poor performance on a index with many fields

2019-05-15 Thread Huy Le (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-8800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Huy Le updated LUCENE-8800: --- Attachment: Screen Shot 2019-05-15 at 5.08.26 pm.png > FieldsReader#terms poor performance on a index with

[jira] [Updated] (LUCENE-8800) FieldsReader#terms poor performance on a index with many fields

2019-05-15 Thread Huy Le (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-8800?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Huy Le updated LUCENE-8800: --- Attachment: (was: Screen Shot 2019-05-15 at 5.08.26 pm.png) > FieldsReader#terms poor performance on a

[jira] [Created] (LUCENE-8800) FieldsReader#terms poor performance on a index with many fields

2019-05-15 Thread Huy Le (JIRA)
Huy Le created LUCENE-8800: -- Summary: FieldsReader#terms poor performance on a index with many fields Key: LUCENE-8800 URL: https://issues.apache.org/jira/browse/LUCENE-8800 Project: Lucene - Core