Re: ConjunctionDISI nextDoc can return immediately when NO_MORE_DOCS

2023-10-01 Thread YouPeng Yang
22:30写道: > Hello, > > This change would be correct, but it would only save work when the > conjunction is exhausted, and add overhead otherwise? > > Le sam. 30 sept. 2023, 16:20, YouPeng Yang a > écrit : > >> Hi >> I am reading the code of class ConjunctionD

ConjunctionDISI nextDoc can return immediately when NO_MORE_DOCS

2023-09-30 Thread YouPeng Yang
Hi I am reading the code of class ConjunctionDISI .and about the method nextDoc , Suppose that the sub-disi is emtpy in the lead1.lead2,should there be that it can return immediately when the input doc==NO_MORE_DOCS? private int doNext(int doc) throws IOException { advanceHead: for (; ; ) { as

Re: Can the BooleanQuery execution be optimized with same term queries

2023-09-22 Thread YouPeng Yang
Hi Adrien Glad to have your opinion.I am reading your excellent articles on elastic blog. Best regards Adrien Grand 于2023年9月19日周二 21:32写道: > Hi Yang, > > It would be legal for Lucene to perform such optimizations indeed. > > On Tue, Sep 19, 2023 at 3:27 PM YouPen

Can the BooleanQuery execution be optimized with same term queries

2023-09-19 Thread YouPeng Yang
Hi All Sorry to bother you.The happiest thing is studying the Lucene source codes,thank you for all the great works . About the BooleanQuery.I am encountered by a question about the execution of BooleanQuery:although,BooleanQuery#rewrite has done some works to remove duplicate FILTER,SHOUL

[jira] [Commented] (SOLR-5837) Add missing equals implementation for SolrDocument, SolrInputDocument and SolrInputField.

2019-07-10 Thread jia yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-5837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881908#comment-16881908 ] jia yang commented on SOLR-5837:   [https://svn.apache.org/viewvc/lucene/dev/bran

[jira] [Commented] (SOLR-5837) Add missing equals implementation for SolrDocument, SolrInputDocument and SolrInputField.

2019-07-10 Thread jia yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-5837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16881849#comment-16881849 ] jia yang commented on SOLR-5837: hi,the equals methods is not required? I thin

[jira] [Comment Edited] (SOLR-11149) import data from mysql failed

2017-07-26 Thread Joe Yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-11149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16102790#comment-16102790 ] Joe Yang edited comment on SOLR-11149 at 7/27/17 6:5

[jira] [Comment Edited] (SOLR-11149) import data from mysql failed

2017-07-26 Thread Joe Yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-11149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16102790#comment-16102790 ] Joe Yang edited comment on SOLR-11149 at 7/27/17 6:4

[jira] [Comment Edited] (SOLR-11149) import data from mysql failed

2017-07-26 Thread Joe Yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-11149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16102790#comment-16102790 ] Joe Yang edited comment on SOLR-11149 at 7/27/17 6:4

[jira] [Commented] (SOLR-11149) import data from mysql failed

2017-07-26 Thread Joe Yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-11149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16102790#comment-16102790 ] Joe Yang commented on SOLR-11149: - [~erickerickson] thanks for your comment: it did s

[jira] [Created] (SOLR-11149) import data from mysql failed

2017-07-26 Thread Joe Yang (JIRA)
Joe Yang created SOLR-11149: --- Summary: import data from mysql failed Key: SOLR-11149 URL: https://issues.apache.org/jira/browse/SOLR-11149 Project: Solr Issue Type: Test Security Level

[jira] [Created] (SOLR-11148) dataimport form mysql error

2017-07-26 Thread Joe Yang (JIRA)
Joe Yang created SOLR-11148: --- Summary: dataimport form mysql error Key: SOLR-11148 URL: https://issues.apache.org/jira/browse/SOLR-11148 Project: Solr Issue Type: Test Security Level: Public

[jira] [Commented] (SOLR-9936) Allow configuration for recoveryExecutor thread pool size

2017-04-12 Thread Jerome Yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-9936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15965540#comment-15965540 ] Jerome Yang commented on SOLR-9936: --- Any update on this issue? > Allow config

[jira] [Commented] (SOLR-7191) Improve stability and startup performance of SolrCloud with thousands of collections

2017-03-15 Thread Jerome Yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-7191?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15925790#comment-15925790 ] Jerome Yang commented on SOLR-7191: --- After I test on solr6.4.2 in cloud mode. 32 n

[jira] [Commented] (LUCENE-7466) add axiomatic similarity

2016-11-28 Thread Peilin Yang (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-7466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15702676#comment-15702676 ] Peilin Yang commented on LUCENE-7466: - Sure. Please feel free to close the i

[jira] [Commented] (LUCENE-7466) add axiomatic similarity

2016-11-16 Thread Peilin Yang (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-7466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15672434#comment-15672434 ] Peilin Yang commented on LUCENE-7466: - Thanks for pointing this out. For the

[jira] [Commented] (LUCENE-7466) add axiomatic similarity

2016-11-16 Thread Peilin Yang (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-7466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15670915#comment-15670915 ] Peilin Yang commented on LUCENE-7466: - Hi [~teofili] I just added the test c

[jira] [Commented] (LUCENE-7466) add axiomatic similarity

2016-11-16 Thread Peilin Yang (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-7466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15670373#comment-15670373 ] Peilin Yang commented on LUCENE-7466: - ok, will add test cases > add ax

[jira] [Commented] (LUCENE-7466) add axiomatic similarity

2016-11-16 Thread Peilin Yang (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-7466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15670225#comment-15670225 ] Peilin Yang commented on LUCENE-7466: - Hi [~teofili], thanks for your feedback.

[GitHub] lucene-solr pull request #83: [LUCENE-7466] add axiomatic similarity

2016-09-24 Thread Peilin-Yang
GitHub user Peilin-Yang opened a pull request: https://github.com/apache/lucene-solr/pull/83 [LUCENE-7466] add axiomatic similarity Add axiomatic similarity approaches to the similarity family. More details can be found at http://dl.acm.org/citation.cfm?id=1076116 and https

[jira] [Created] (LUCENE-7466) add axiomatic similarity

2016-09-24 Thread Peilin Yang (JIRA)
Peilin Yang created LUCENE-7466: --- Summary: add axiomatic similarity Key: LUCENE-7466 URL: https://issues.apache.org/jira/browse/LUCENE-7466 Project: Lucene - Core Issue Type: Improvement

[jira] [Commented] (SOLR-6399) Implement unloadCollection in the Collections API

2016-07-25 Thread Jerome Yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-6399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15393152#comment-15393152 ] Jerome Yang commented on SOLR-6399: --- Backup/Restore is much heavier than just un

[jira] [Commented] (SOLR-5146) Figure out what it would take for lazily-loaded cores to play nice with SolrCloud

2016-07-25 Thread Jerome Yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-5146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15393148#comment-15393148 ] Jerome Yang commented on SOLR-5146: --- Any news on this issue? > Figure out what i

[jira] [Commented] (SOLR-7879) Null pointer exception when

2015-08-24 Thread Gary Yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-7879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14710454#comment-14710454 ] Gary Yang commented on SOLR-7879: - Please let me know if there is anything I can d

[jira] [Comment Edited] (SOLR-7879) Null pointer exception when

2015-08-07 Thread Gary Yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-7879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14662023#comment-14662023 ] Gary Yang edited comment on SOLR-7879 at 8/7/15 4:07 PM: - T

[jira] [Comment Edited] (SOLR-7879) Null pointer exception when

2015-08-07 Thread Gary Yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-7879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14662023#comment-14662023 ] Gary Yang edited comment on SOLR-7879 at 8/7/15 4:05 PM: - T

[jira] [Commented] (SOLR-7879) Null pointer exception when

2015-08-07 Thread Gary Yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-7879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14662023#comment-14662023 ] Gary Yang commented on SOLR-7879: - Thank you for helping me correct that error in my

[jira] [Commented] (SOLR-7879) Null pointer exception when

2015-08-06 Thread Gary Yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-7879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14660330#comment-14660330 ] Gary Yang commented on SOLR-7879: - I see now ... thanks. > Null pointer excepti

[jira] [Commented] (SOLR-7879) Null pointer exception when

2015-08-06 Thread Gary Yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-7879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14660251#comment-14660251 ] Gary Yang commented on SOLR-7879: - thanks for replying quickly, all the fields exis

[jira] [Comment Edited] (SOLR-7879) Null pointer exception when

2015-08-06 Thread Gary Yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-7879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14660197#comment-14660197 ] Gary Yang edited comment on SOLR-7879 at 8/6/15 4:01 PM: - Actu

[jira] [Comment Edited] (SOLR-7879) Null pointer exception when

2015-08-06 Thread Gary Yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-7879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14660197#comment-14660197 ] Gary Yang edited comment on SOLR-7879 at 8/6/15 4:01 PM: - Actu

[jira] [Commented] (SOLR-7879) Null pointer exception when

2015-08-06 Thread Gary Yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-7879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14660197#comment-14660197 ] Gary Yang commented on SOLR-7879: - Actually, I think it has something to do with

[jira] [Updated] (SOLR-7879) Null pointer exception when

2015-08-05 Thread Gary Yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-7879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Yang updated SOLR-7879: Component/s: search > Null pointer exception when > > >

[jira] [Created] (SOLR-7879) Null pointer exception when

2015-08-05 Thread Gary Yang (JIRA)
Gary Yang created SOLR-7879: --- Summary: Null pointer exception when Key: SOLR-7879 URL: https://issues.apache.org/jira/browse/SOLR-7879 Project: Solr Issue Type: Bug Components: Facet

[jira] [Updated] (SOLR-7828) add a facet function to pick one result's value

2015-07-24 Thread Gary Yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-7828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Yang updated SOLR-7828: Description: The facet functions and analytics working great, especially with json API ! As a developer, I

[jira] [Updated] (SOLR-7828) add a facet function to pick one result's value

2015-07-24 Thread Gary Yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-7828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Yang updated SOLR-7828: Summary: add a facet function to pick one result's value (was: add a new facet function to pic

[jira] [Created] (SOLR-7828) add a new facet function to pick one result's value

2015-07-24 Thread Gary Yang (JIRA)
Gary Yang created SOLR-7828: --- Summary: add a new facet function to pick one result's value Key: SOLR-7828 URL: https://issues.apache.org/jira/browse/SOLR-7828 Project: Solr Issue Type: New Fe

[jira] [Closed] (SOLR-7616) Facet statistics throw exception when result set is bigger than 30,000 roughly.

2015-06-03 Thread Gary Yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-7616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Yang closed SOLR-7616. --- Verified by local build. Thanks Yonik for such a quick response, this gives us huge confidence in Solr! Keep

[jira] [Updated] (SOLR-7616) Facet statistics throw exception when result set is bigger than 30,000 roughly.

2015-06-02 Thread Gary Yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-7616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Yang updated SOLR-7616: Labels: analytics facet grouping statistics (was: ) > Facet statistics throw exception when result set

[jira] [Updated] (SOLR-7616) Facet statistics throw exception when result set is bigger than 30,000 roughly.

2015-06-02 Thread Gary Yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-7616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Yang updated SOLR-7616: Component/s: Facet Module > Facet statistics throw exception when result set is bigger than 30,

[jira] [Updated] (SOLR-7616) Facet statistics throw exception when result set is bigger than 30,000 roughly.

2015-06-01 Thread Gary Yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-7616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Yang updated SOLR-7616: Affects Version/s: 5.3 5.2 > Facet statistics throw exception when result set

[jira] [Updated] (SOLR-7616) Facet statistics throw exception when result set is bigger than 30,000 roughly.

2015-06-01 Thread Gary Yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-7616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Yang updated SOLR-7616: Priority: Critical (was: Major) > Facet statistics throw exception when result set is bigger than 30,

[jira] [Created] (SOLR-7616) Facet statistics throw exception when result set is bigger than 30,000 roughly.

2015-06-01 Thread Gary Yang (JIRA)
Gary Yang created SOLR-7616: --- Summary: Facet statistics throw exception when result set is bigger than 30,000 roughly. Key: SOLR-7616 URL: https://issues.apache.org/jira/browse/SOLR-7616 Project: Solr

[jira] [Created] (SOLR-6093) delete docs only in a spec shard within a collection

2014-05-19 Thread YouPeng Yang (JIRA)
YouPeng Yang created SOLR-6093: -- Summary: delete docs only in a spec shard within a collection Key: SOLR-6093 URL: https://issues.apache.org/jira/browse/SOLR-6093 Project: Solr Issue Type

[jira] [Commented] (SOLR-5580) SOLR-5311 was done without full understanding of the system and must be reverted.

2014-01-02 Thread YouPeng Yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-5580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13860188#comment-13860188 ] YouPeng Yang commented on SOLR-5580: It needs to make clear that ,I crea

[jira] [Commented] (SOLR-5580) SOLR-5311 was done without full understanding of the system and must be reverted.

2014-01-02 Thread YouPeng Yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-5580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13860148#comment-13860148 ] YouPeng Yang commented on SOLR-5580: Hi The create core URL: http://10.7.23

[jira] [Commented] (SOLR-5580) SOLR-5311 was done without full understanding of the system and must be reverted.

2014-01-02 Thread YouPeng Yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-5580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13860127#comment-13860127 ] YouPeng Yang commented on SOLR-5580: By the way. We use the corenodename since

[jira] [Commented] (SOLR-5580) SOLR-5311 was done without full understanding of the system and must be reverted.

2014-01-02 Thread YouPeng Yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-5580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13860123#comment-13860123 ] YouPeng Yang commented on SOLR-5580: Hi The auto created corenodename can no

[jira] [Created] (SOLR-5580) NPE when create a core with both explicite shard and coreNodeName

2013-12-26 Thread YouPeng Yang (JIRA)
YouPeng Yang created SOLR-5580: -- Summary: NPE when create a core with both explicite shard and coreNodeName Key: SOLR-5580 URL: https://issues.apache.org/jira/browse/SOLR-5580 Project: Solr

[jira] [Commented] (LUCENE-5023) Only reader that contains fields can be added into readerContext

2013-06-01 Thread Bao Yang Yang (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-5023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13672298#comment-13672298 ] Bao Yang Yang commented on LUCENE-5023: --- thank you for your quick response,

[jira] [Updated] (SOLR-4876) Only reader that contains fields can be added into readerContext

2013-05-29 Thread Bao Yang Yang (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4876?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bao Yang Yang updated SOLR-4876: Priority: Critical (was: Major) > Only reader that contains fields can be added i

[jira] [Created] (SOLR-4876) Only reader that contains fields can be added into readerContext

2013-05-29 Thread Bao Yang Yang (JIRA)
Bao Yang Yang created SOLR-4876: --- Summary: Only reader that contains fields can be added into readerContext Key: SOLR-4876 URL: https://issues.apache.org/jira/browse/SOLR-4876 Project: Solr

[jira] [Commented] (LUCENE-3406) Add source distribution packaging targets that make a tarball from a local working copy

2011-08-30 Thread Seung-Yeoul Yang (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-3406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13094089#comment-13094089 ] Seung-Yeoul Yang commented on LUCENE-3406: -- I've tested both target

[jira] [Updated] (LUCENE-3406) Add source distribution packaging targets that make a tarball from a local working copy

2011-08-29 Thread Seung-Yeoul Yang (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-3406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Seung-Yeoul Yang updated LUCENE-3406: - Attachment: LUCENE-3406.patch > Add source distribution packaging targets that mak

[jira] [Created] (LUCENE-3406) Add source distribution packaging targets that make a tarball from a local working copy

2011-08-29 Thread Seung-Yeoul Yang (JIRA)
Project: Lucene - Java Issue Type: Improvement Components: general/build Affects Versions: 4.0 Reporter: Seung-Yeoul Yang Priority: Minor Fix For: 4.0 I am adding back targets that were removed in <https://issues.apache.org/jira/bro

some questions about how Lucene works internally

2011-04-08 Thread Yang
my of a search engine" (google Sergey Brin & Larry Page paper), "introduction to information retrieval (Manning et al ) " , "Lucene in action" Thanks Yang - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org