[jira] [Commented] (LUCENE-5867) Add BooleanSimilarity
[ https://issues.apache.org/jira/browse/LUCENE-5867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15654144#comment-15654144 ] ASF subversion and git services commented on LUCENE-5867: - Commit 3e15233b23197122e40a851edab7b7257ce63f02 in lucene-solr's branch refs/heads/master from [~jpountz] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=3e15233 ] LUCENE-5867: Add a BooleanSimilarity. > Add BooleanSimilarity > - > > Key: LUCENE-5867 > URL: https://issues.apache.org/jira/browse/LUCENE-5867 > Project: Lucene - Core > Issue Type: New Feature >Reporter: Robert Muir > Attachments: LUCENE-5867.patch, LUCENE-5867.patch > > > This can be used when the user doesn't want tf/idf scoring for some reason. > The idea is that the score is just query_time_boost * index_time_boost, no > queryNorm/IDF/TF/lengthNorm... -- 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
[jira] [Commented] (LUCENE-5867) Add BooleanSimilarity
[ https://issues.apache.org/jira/browse/LUCENE-5867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15654210#comment-15654210 ] ASF subversion and git services commented on LUCENE-5867: - Commit 74da1cff27467ab540c343dd589832d9f417dd25 in lucene-solr's branch refs/heads/branch_6x from [~jpountz] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=74da1cf ] LUCENE-5867: Add a BooleanSimilarity. > Add BooleanSimilarity > - > > Key: LUCENE-5867 > URL: https://issues.apache.org/jira/browse/LUCENE-5867 > Project: Lucene - Core > Issue Type: New Feature >Reporter: Robert Muir > Attachments: LUCENE-5867.patch, LUCENE-5867.patch > > > This can be used when the user doesn't want tf/idf scoring for some reason. > The idea is that the score is just query_time_boost * index_time_boost, no > queryNorm/IDF/TF/lengthNorm... -- 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
[jira] [Commented] (LUCENE-5867) Add BooleanSimilarity
[ https://issues.apache.org/jira/browse/LUCENE-5867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15611403#comment-15611403 ] Uwe Schindler commented on LUCENE-5867: --- Hi, I like the patch and the simplicity of it! Basically, this patch provides the same effect if I would wrap all my TermQuery and PhraseQuery with a ConstantScoreQuery and only apply BoostQuery() to them? In addition, when using this similarity, I could also just disable norms for all fields I use it on? > Add BooleanSimilarity > - > > Key: LUCENE-5867 > URL: https://issues.apache.org/jira/browse/LUCENE-5867 > Project: Lucene - Core > Issue Type: New Feature >Reporter: Robert Muir > Attachments: LUCENE-5867.patch, LUCENE-5867.patch > > > This can be used when the user doesn't want tf/idf scoring for some reason. > The idea is that the score is just query_time_boost * index_time_boost, no > queryNorm/IDF/TF/lengthNorm... -- 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
[jira] [Commented] (LUCENE-5867) Add BooleanSimilarity
[ https://issues.apache.org/jira/browse/LUCENE-5867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15611724#comment-15611724 ] Adrien Grand commented on LUCENE-5867: -- bq. Basically, this patch provides the same effect if I would wrap all my TermQuery and PhraseQuery with a ConstantScoreQuery and only apply BoostQuery() to them? This is correct. bq. In addition, when using this similarity, I could also just disable norms for all fields I use it on? This is correct if you do not plan to switch to another similarity later on. And in the case that you do not need phrase matching, you could also index with IndexOptions.DOCS_ONLY rather than IndexOptions.DOCS_AND_FREQS since freqs are not used for scoring either. > Add BooleanSimilarity > - > > Key: LUCENE-5867 > URL: https://issues.apache.org/jira/browse/LUCENE-5867 > Project: Lucene - Core > Issue Type: New Feature >Reporter: Robert Muir > Attachments: LUCENE-5867.patch, LUCENE-5867.patch > > > This can be used when the user doesn't want tf/idf scoring for some reason. > The idea is that the score is just query_time_boost * index_time_boost, no > queryNorm/IDF/TF/lengthNorm... -- 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
[jira] [Commented] (LUCENE-5867) Add BooleanSimilarity
[ https://issues.apache.org/jira/browse/LUCENE-5867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14082122#comment-14082122 ] Mikhail Khludnev commented on LUCENE-5867: -- People often want coord-factor also. > Add BooleanSimilarity > - > > Key: LUCENE-5867 > URL: https://issues.apache.org/jira/browse/LUCENE-5867 > Project: Lucene - Core > Issue Type: New Feature >Reporter: Robert Muir > Attachments: LUCENE-5867.patch > > > This can be used when the user doesn't want tf/idf scoring for some reason. > The idea is that the score is just query_time_boost * index_time_boost, no > queryNorm/IDF/TF/lengthNorm... -- This message was sent by Atlassian JIRA (v6.2#6252) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (LUCENE-5867) Add BooleanSimilarity
[ https://issues.apache.org/jira/browse/LUCENE-5867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14082124#comment-14082124 ] Robert Muir commented on LUCENE-5867: - This similarity is already a coordinate-level match, because it ignores TF etc completely and scores 1 for each matching term. > Add BooleanSimilarity > - > > Key: LUCENE-5867 > URL: https://issues.apache.org/jira/browse/LUCENE-5867 > Project: Lucene - Core > Issue Type: New Feature >Reporter: Robert Muir > Attachments: LUCENE-5867.patch > > > This can be used when the user doesn't want tf/idf scoring for some reason. > The idea is that the score is just query_time_boost * index_time_boost, no > queryNorm/IDF/TF/lengthNorm... -- This message was sent by Atlassian JIRA (v6.2#6252) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (LUCENE-5867) Add BooleanSimilarity
[ https://issues.apache.org/jira/browse/LUCENE-5867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14082162#comment-14082162 ] Tommaso Teofili commented on LUCENE-5867: - +1 > Add BooleanSimilarity > - > > Key: LUCENE-5867 > URL: https://issues.apache.org/jira/browse/LUCENE-5867 > Project: Lucene - Core > Issue Type: New Feature >Reporter: Robert Muir > Attachments: LUCENE-5867.patch > > > This can be used when the user doesn't want tf/idf scoring for some reason. > The idea is that the score is just query_time_boost * index_time_boost, no > queryNorm/IDF/TF/lengthNorm... -- This message was sent by Atlassian JIRA (v6.2#6252) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (LUCENE-5867) Add BooleanSimilarity
[ https://issues.apache.org/jira/browse/LUCENE-5867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14082778#comment-14082778 ] Jack Krupansky commented on LUCENE-5867: Would this be expected to result in any dramatic improvement in indexing or query performance, or a dramatic reduction in index size? > Add BooleanSimilarity > - > > Key: LUCENE-5867 > URL: https://issues.apache.org/jira/browse/LUCENE-5867 > Project: Lucene - Core > Issue Type: New Feature >Reporter: Robert Muir > Attachments: LUCENE-5867.patch > > > This can be used when the user doesn't want tf/idf scoring for some reason. > The idea is that the score is just query_time_boost * index_time_boost, no > queryNorm/IDF/TF/lengthNorm... -- This message was sent by Atlassian JIRA (v6.2#6252) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[jira] [Commented] (LUCENE-5867) Add BooleanSimilarity
[ https://issues.apache.org/jira/browse/LUCENE-5867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14086311#comment-14086311 ] Robert Muir commented on LUCENE-5867: - It is not intended to be faster or anything like that. The idea is that this is simpler to use for use-cases where the typical ranking "gets in the way". > Add BooleanSimilarity > - > > Key: LUCENE-5867 > URL: https://issues.apache.org/jira/browse/LUCENE-5867 > Project: Lucene - Core > Issue Type: New Feature >Reporter: Robert Muir > Attachments: LUCENE-5867.patch > > > This can be used when the user doesn't want tf/idf scoring for some reason. > The idea is that the score is just query_time_boost * index_time_boost, no > queryNorm/IDF/TF/lengthNorm... -- This message was sent by Atlassian JIRA (v6.2#6252) - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org