[ https://issues.apache.org/jira/browse/SOLR-3055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14259351#comment-14259351 ]
Tomoko Uchida commented on SOLR-3055: ------------------------------------- I performed brief benchmark by JMeter for Solr 5.0.0 trunk and strategy 1. There seems to be significant performance gain for n-gram based phrase query. - Hardware : MacBook Pro, 2.8GHz Intel Core i5 - Java version : 1.7.0_71 - Solr version : 5.0.0 SNAPSHOT / 5.0.0 SNAPSHOT with SOLR-3055-1.patch - Java heap : 500MB - Documents : Wikipedia (Japanese) 100000 docs - Solr config : attached solrconfig.xml (query result cache disabled) - Schema : attached schema.xml (NGramTokenizer's maxGramSize=3, minGramSIze=2) - Queries : "python", "javascript", "windows", "プログラミング", "インターネット", "スマートフォン" (japanese) - JMeter scenario : execute each 6 queries above 1000 times (i.e. perform 6000 queries) - JMeter Threads : 1 To warm up, I performed 2 times JMeter scinario for both settings. 2nd round results are: || Solr || Avg. response time || Throughput || | 5.0.0-SNAPSHOT | 7msec | 137.8/sec | | 5.0.0-SNAPSHOT with patch-1 | 4msec | 201.3/sec | > Use NGramPhraseQuery in Solr > ---------------------------- > > Key: SOLR-3055 > URL: https://issues.apache.org/jira/browse/SOLR-3055 > Project: Solr > Issue Type: New Feature > Components: Schema and Analysis, search > Reporter: Koji Sekiguchi > Priority: Minor > Attachments: SOLR-3055-1.patch, SOLR-3055-2.patch, SOLR-3055.patch, > schema.xml > > > Solr should use NGramPhraseQuery when searching with default slop on n-gram > field. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org