[jira] [Commented] (SOLR-7912) Add support for boost and exclude the queried document id in MoreLikeThis QParser

2015-11-25 Thread Anshum Gupta (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-7912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15027566#comment-15027566
 ] 

Anshum Gupta commented on SOLR-7912:


The parsed query could order the terms in different ways on different shards 
and at times when they end up being the same, it would return a single value 
instead of an array of parsed query strings. I think this is just not a good 
way to test and actually forces us to look at the output to write the test to 
begin with. For exactly that reason, I've removed that assertion for now.

> Add support for boost and exclude the queried document id in MoreLikeThis 
> QParser
> -
>
> Key: SOLR-7912
> URL: https://issues.apache.org/jira/browse/SOLR-7912
> Project: Solr
>  Issue Type: Improvement
>Reporter: Anshum Gupta
>Assignee: Anshum Gupta
> Fix For: 5.4, Trunk
>
> Attachments: SOLR-7912-test-fix.patch, SOLR-7912.patch, 
> SOLR-7912.patch, SOLR-7912.patch, SOLR-7912.patch, SOLR-7912.patch
>
>
> Continuing from SOLR-7639. We need to support boost, and also exclude input 
> document from returned doc list.



--
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] (SOLR-7912) Add support for boost and exclude the queried document id in MoreLikeThis QParser

2015-11-24 Thread Jens Wille (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-7912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15024083#comment-15024083
 ] 

Jens Wille commented on SOLR-7912:
--

Thank you, Anshum.

As for the test: Under what circumstances can {{parsedquery}} be a string 
instead of an array? I wasn't able to make that part fail.

> Add support for boost and exclude the queried document id in MoreLikeThis 
> QParser
> -
>
> Key: SOLR-7912
> URL: https://issues.apache.org/jira/browse/SOLR-7912
> Project: Solr
>  Issue Type: Improvement
>Reporter: Anshum Gupta
>Assignee: Anshum Gupta
> Fix For: 5.4, Trunk
>
> Attachments: SOLR-7912-test-fix.patch, SOLR-7912.patch, 
> SOLR-7912.patch, SOLR-7912.patch, SOLR-7912.patch, SOLR-7912.patch
>
>
> Continuing from SOLR-7639. We need to support boost, and also exclude input 
> document from returned doc list.



--
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] (SOLR-7912) Add support for boost and exclude the queried document id in MoreLikeThis QParser

2015-11-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-7912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15024663#comment-15024663
 ] 

ASF subversion and git services commented on SOLR-7912:
---

Commit 1716156 from [~anshumg] in branch 'dev/trunk'
[ https://svn.apache.org/r1716156 ]

SOLR-7912: Removing complicated query assertions from the MLTQParser cloud test 
as it was getting to be more of a hack. Only test for doc ordering and query 
assertion in simple cases.

> Add support for boost and exclude the queried document id in MoreLikeThis 
> QParser
> -
>
> Key: SOLR-7912
> URL: https://issues.apache.org/jira/browse/SOLR-7912
> Project: Solr
>  Issue Type: Improvement
>Reporter: Anshum Gupta
>Assignee: Anshum Gupta
> Fix For: 5.4, Trunk
>
> Attachments: SOLR-7912-test-fix.patch, SOLR-7912.patch, 
> SOLR-7912.patch, SOLR-7912.patch, SOLR-7912.patch, SOLR-7912.patch
>
>
> Continuing from SOLR-7639. We need to support boost, and also exclude input 
> document from returned doc list.



--
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] (SOLR-7912) Add support for boost and exclude the queried document id in MoreLikeThis QParser

2015-11-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-7912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15024666#comment-15024666
 ] 

ASF subversion and git services commented on SOLR-7912:
---

Commit 1716159 from [~anshumg] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1716159 ]

SOLR-7912: Removing complicated query assertions from the MLTQParser cloud test 
as it was getting to be more of a hack. Only test for doc ordering and query 
assertion in simple cases. (merge from trunk)

> Add support for boost and exclude the queried document id in MoreLikeThis 
> QParser
> -
>
> Key: SOLR-7912
> URL: https://issues.apache.org/jira/browse/SOLR-7912
> Project: Solr
>  Issue Type: Improvement
>Reporter: Anshum Gupta
>Assignee: Anshum Gupta
> Fix For: 5.4, Trunk
>
> Attachments: SOLR-7912-test-fix.patch, SOLR-7912.patch, 
> SOLR-7912.patch, SOLR-7912.patch, SOLR-7912.patch, SOLR-7912.patch
>
>
> Continuing from SOLR-7639. We need to support boost, and also exclude input 
> document from returned doc list.



--
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] (SOLR-7912) Add support for boost and exclude the queried document id in MoreLikeThis QParser

2015-11-23 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-7912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15022836#comment-15022836
 ] 

ASF subversion and git services commented on SOLR-7912:
---

Commit 1715931 from [~anshumg] in branch 'dev/trunk'
[ https://svn.apache.org/r1715931 ]

SOLR-7912: Add boost support, and also exclude the queried document in 
MoreLikeThis QParser

> Add support for boost and exclude the queried document id in MoreLikeThis 
> QParser
> -
>
> Key: SOLR-7912
> URL: https://issues.apache.org/jira/browse/SOLR-7912
> Project: Solr
>  Issue Type: Improvement
>Reporter: Anshum Gupta
>Assignee: Anshum Gupta
> Attachments: SOLR-7912.patch, SOLR-7912.patch, SOLR-7912.patch, 
> SOLR-7912.patch, SOLR-7912.patch
>
>
> Continuing from SOLR-7639. We need to support boost, and also exclude input 
> document from returned doc list.



--
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] (SOLR-7912) Add support for boost and exclude the queried document id in MoreLikeThis QParser

2015-11-23 Thread Jens Wille (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-7912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15021875#comment-15021875
 ] 

Jens Wille commented on SOLR-7912:
--

Both tests are passing for me on current trunk (r1715745) with the latest 
patch. {{CloudMLTQParserTest}} is failing when I add {{setDisableCoord}} due to 
differing parsed query strings ({{(...)/no_coord}}). I've attached a new patch 
that I *think* reflects Uwe's suggestion and updates the test accordingly.

> Add support for boost and exclude the queried document id in MoreLikeThis 
> QParser
> -
>
> Key: SOLR-7912
> URL: https://issues.apache.org/jira/browse/SOLR-7912
> Project: Solr
>  Issue Type: Improvement
>Reporter: Anshum Gupta
>Assignee: Anshum Gupta
> Attachments: SOLR-7912.patch, SOLR-7912.patch, SOLR-7912.patch, 
> SOLR-7912.patch, SOLR-7912.patch
>
>
> Continuing from SOLR-7639. We need to support boost, and also exclude input 
> document from returned doc list.



--
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] (SOLR-7912) Add support for boost and exclude the queried document id in MoreLikeThis QParser

2015-11-23 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-7912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15023781#comment-15023781
 ] 

ASF subversion and git services commented on SOLR-7912:
---

Commit 1716028 from [~anshumg] in branch 'dev/trunk'
[ https://svn.apache.org/r1716028 ]

SOLR-7912: Fix CloudMLTQParserTest from the previous commit

> Add support for boost and exclude the queried document id in MoreLikeThis 
> QParser
> -
>
> Key: SOLR-7912
> URL: https://issues.apache.org/jira/browse/SOLR-7912
> Project: Solr
>  Issue Type: Improvement
>Reporter: Anshum Gupta
>Assignee: Anshum Gupta
> Fix For: 5.4, Trunk
>
> Attachments: SOLR-7912-test-fix.patch, SOLR-7912.patch, 
> SOLR-7912.patch, SOLR-7912.patch, SOLR-7912.patch, SOLR-7912.patch
>
>
> Continuing from SOLR-7639. We need to support boost, and also exclude input 
> document from returned doc list.



--
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] (SOLR-7912) Add support for boost and exclude the queried document id in MoreLikeThis QParser

2015-11-23 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-7912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15023788#comment-15023788
 ] 

ASF subversion and git services commented on SOLR-7912:
---

Commit 1716029 from [~anshumg] in branch 'dev/trunk'
[ https://svn.apache.org/r1716029 ]

SOLR-7912: Another attempt at fixing CloudMLTQParserTest from the original 
commit

> Add support for boost and exclude the queried document id in MoreLikeThis 
> QParser
> -
>
> Key: SOLR-7912
> URL: https://issues.apache.org/jira/browse/SOLR-7912
> Project: Solr
>  Issue Type: Improvement
>Reporter: Anshum Gupta
>Assignee: Anshum Gupta
> Fix For: 5.4, Trunk
>
> Attachments: SOLR-7912-test-fix.patch, SOLR-7912.patch, 
> SOLR-7912.patch, SOLR-7912.patch, SOLR-7912.patch, SOLR-7912.patch
>
>
> Continuing from SOLR-7639. We need to support boost, and also exclude input 
> document from returned doc list.



--
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] (SOLR-7912) Add support for boost and exclude the queried document id in MoreLikeThis QParser

2015-11-23 Thread Anshum Gupta (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-7912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15023791#comment-15023791
 ] 

Anshum Gupta commented on SOLR-7912:


It makes sense to not assert against the parsed queries when there are > 2 
terms right now. I've changed the test to not do that and only assert on doc 
ordering conditionally.
We should however find a better way to test this out.

> Add support for boost and exclude the queried document id in MoreLikeThis 
> QParser
> -
>
> Key: SOLR-7912
> URL: https://issues.apache.org/jira/browse/SOLR-7912
> Project: Solr
>  Issue Type: Improvement
>Reporter: Anshum Gupta
>Assignee: Anshum Gupta
> Fix For: 5.4, Trunk
>
> Attachments: SOLR-7912-test-fix.patch, SOLR-7912.patch, 
> SOLR-7912.patch, SOLR-7912.patch, SOLR-7912.patch, SOLR-7912.patch
>
>
> Continuing from SOLR-7639. We need to support boost, and also exclude input 
> document from returned doc list.



--
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] (SOLR-7912) Add support for boost and exclude the queried document id in MoreLikeThis QParser

2015-11-23 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-7912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15023792#comment-15023792
 ] 

ASF subversion and git services commented on SOLR-7912:
---

Commit 1716030 from [~anshumg] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1716030 ]

SOLR-7912: Fix CloudMLTQParserTest from the previous commit (merge from trunk)

> Add support for boost and exclude the queried document id in MoreLikeThis 
> QParser
> -
>
> Key: SOLR-7912
> URL: https://issues.apache.org/jira/browse/SOLR-7912
> Project: Solr
>  Issue Type: Improvement
>Reporter: Anshum Gupta
>Assignee: Anshum Gupta
> Fix For: 5.4, Trunk
>
> Attachments: SOLR-7912-test-fix.patch, SOLR-7912.patch, 
> SOLR-7912.patch, SOLR-7912.patch, SOLR-7912.patch, SOLR-7912.patch
>
>
> Continuing from SOLR-7639. We need to support boost, and also exclude input 
> document from returned doc list.



--
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] (SOLR-7912) Add support for boost and exclude the queried document id in MoreLikeThis QParser

2015-11-23 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-7912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15023087#comment-15023087
 ] 

ASF subversion and git services commented on SOLR-7912:
---

Commit 1715953 from [~anshumg] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1715953 ]

SOLR-7912: Add boost support, and also exclude the queried document in 
MoreLikeThis QParser (merge from trunk)

> Add support for boost and exclude the queried document id in MoreLikeThis 
> QParser
> -
>
> Key: SOLR-7912
> URL: https://issues.apache.org/jira/browse/SOLR-7912
> Project: Solr
>  Issue Type: Improvement
>Reporter: Anshum Gupta
>Assignee: Anshum Gupta
> Fix For: 5.4, Trunk
>
> Attachments: SOLR-7912.patch, SOLR-7912.patch, SOLR-7912.patch, 
> SOLR-7912.patch, SOLR-7912.patch
>
>
> Continuing from SOLR-7639. We need to support boost, and also exclude input 
> document from returned doc list.



--
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] (SOLR-7912) Add support for boost and exclude the queried document id in MoreLikeThis QParser

2015-11-22 Thread Uwe Schindler (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-7912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15021587#comment-15021587
 ] 

Uwe Schindler commented on SOLR-7912:
-

The score of a MLT query should not be changed by additional clauses like the 
one to exclude original document. The coordination factor changes the score of 
a query depending on how many clauses are in a boolean query. This problem does 
not really affect the query here because it is a combination of must/must_not, 
but it should still be done.

> Add support for boost and exclude the queried document id in MoreLikeThis 
> QParser
> -
>
> Key: SOLR-7912
> URL: https://issues.apache.org/jira/browse/SOLR-7912
> Project: Solr
>  Issue Type: Improvement
>Reporter: Anshum Gupta
>Assignee: Anshum Gupta
> Attachments: SOLR-7912.patch, SOLR-7912.patch, SOLR-7912.patch, 
> SOLR-7912.patch
>
>
> Continuing from SOLR-7639. We need to support boost, and also exclude input 
> document from returned doc list.



--
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] (SOLR-7912) Add support for boost and exclude the queried document id in MoreLikeThis QParser

2015-11-22 Thread Anshum Gupta (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-7912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15021544#comment-15021544
 ] 

Anshum Gupta commented on SOLR-7912:


I've added the suggestion that Uwe gave and the rest looks fine to me. I'll 
just run the tests and then commit (subject to the tests passing).
Thanks Jens and sorry about taking so long!

> Add support for boost and exclude the queried document id in MoreLikeThis 
> QParser
> -
>
> Key: SOLR-7912
> URL: https://issues.apache.org/jira/browse/SOLR-7912
> Project: Solr
>  Issue Type: Improvement
>Reporter: Anshum Gupta
>Assignee: Anshum Gupta
> Attachments: SOLR-7912.patch, SOLR-7912.patch, SOLR-7912.patch, 
> SOLR-7912.patch
>
>
> Continuing from SOLR-7639. We need to support boost, and also exclude input 
> document from returned doc list.



--
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] (SOLR-7912) Add support for boost and exclude the queried document id in MoreLikeThis QParser

2015-11-22 Thread Uwe Schindler (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-7912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15021588#comment-15021588
 ] 

Uwe Schindler commented on SOLR-7912:
-

The *final* query (the one where the exclusion of the "oiginal document" is 
done). This one is and was not part of previous code.

> Add support for boost and exclude the queried document id in MoreLikeThis 
> QParser
> -
>
> Key: SOLR-7912
> URL: https://issues.apache.org/jira/browse/SOLR-7912
> Project: Solr
>  Issue Type: Improvement
>Reporter: Anshum Gupta
>Assignee: Anshum Gupta
> Attachments: SOLR-7912.patch, SOLR-7912.patch, SOLR-7912.patch, 
> SOLR-7912.patch
>
>
> Continuing from SOLR-7639. We need to support boost, and also exclude input 
> document from returned doc list.



--
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] (SOLR-7912) Add support for boost and exclude the queried document id in MoreLikeThis QParser

2015-11-22 Thread Anshum Gupta (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-7912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15021558#comment-15021558
 ] 

Anshum Gupta commented on SOLR-7912:


The CloudMLTQParserTest is failing for me right now on trunk. I'll take a look 
as to why it's failing if you don't get to it by morning my time (PST).

> Add support for boost and exclude the queried document id in MoreLikeThis 
> QParser
> -
>
> Key: SOLR-7912
> URL: https://issues.apache.org/jira/browse/SOLR-7912
> Project: Solr
>  Issue Type: Improvement
>Reporter: Anshum Gupta
>Assignee: Anshum Gupta
> Attachments: SOLR-7912.patch, SOLR-7912.patch, SOLR-7912.patch, 
> SOLR-7912.patch
>
>
> Continuing from SOLR-7639. We need to support boost, and also exclude input 
> document from returned doc list.



--
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] (SOLR-7912) Add support for boost and exclude the queried document id in MoreLikeThis QParser

2015-11-18 Thread Anshum Gupta (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-7912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15011333#comment-15011333
 ] 

Anshum Gupta commented on SOLR-7912:


[~blackwinter] absolutely. I'll take a look at the updated patch.

> Add support for boost and exclude the queried document id in MoreLikeThis 
> QParser
> -
>
> Key: SOLR-7912
> URL: https://issues.apache.org/jira/browse/SOLR-7912
> Project: Solr
>  Issue Type: Improvement
>Reporter: Anshum Gupta
>Assignee: Anshum Gupta
> Attachments: SOLR-7912.patch, SOLR-7912.patch, SOLR-7912.patch, 
> SOLR-7912.patch
>
>
> Continuing from SOLR-7639. We need to support boost, and also exclude input 
> document from returned doc list.



--
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] (SOLR-7912) Add support for boost and exclude the queried document id in MoreLikeThis QParser

2015-11-18 Thread Jens Wille (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-7912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15010568#comment-15010568
 ] 

Jens Wille commented on SOLR-7912:
--

[~anshumg], is there any chance this patch can make it into the upcoming 
release?

> Add support for boost and exclude the queried document id in MoreLikeThis 
> QParser
> -
>
> Key: SOLR-7912
> URL: https://issues.apache.org/jira/browse/SOLR-7912
> Project: Solr
>  Issue Type: Improvement
>Reporter: Anshum Gupta
>Assignee: Anshum Gupta
> Attachments: SOLR-7912.patch, SOLR-7912.patch, SOLR-7912.patch, 
> SOLR-7912.patch
>
>
> Continuing from SOLR-7639. We need to support boost, and also exclude input 
> document from returned doc list.



--
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] (SOLR-7912) Add support for boost and exclude the queried document id in MoreLikeThis QParser

2015-11-12 Thread Jens Wille (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-7912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15001869#comment-15001869
 ] 

Jens Wille commented on SOLR-7912:
--

Uwe, can you expand on your suggestion? Was {{realMLTQuery}} the one you had in 
mind? Does it only apply to {{CloudMLTQParser}} and {{SimpleMLTQParser}} or 
also to {{MoreLikeThisHandler}}? If the former, why? And how should this change 
be reflected in the tests?

> Add support for boost and exclude the queried document id in MoreLikeThis 
> QParser
> -
>
> Key: SOLR-7912
> URL: https://issues.apache.org/jira/browse/SOLR-7912
> Project: Solr
>  Issue Type: Improvement
>Reporter: Anshum Gupta
>Assignee: Anshum Gupta
> Attachments: SOLR-7912.patch, SOLR-7912.patch, SOLR-7912.patch, 
> SOLR-7912.patch
>
>
> Continuing from SOLR-7639. We need to support boost, and also exclude input 
> document from returned doc list.



--
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] (SOLR-7912) Add support for boost and exclude the queried document id in MoreLikeThis QParser

2015-11-10 Thread Uwe Schindler (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-7912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14998811#comment-14998811
 ] 

Uwe Schindler commented on SOLR-7912:
-

Hi, the final query should have disableCoord=true (the one where the original 
document is excluded).

> Add support for boost and exclude the queried document id in MoreLikeThis 
> QParser
> -
>
> Key: SOLR-7912
> URL: https://issues.apache.org/jira/browse/SOLR-7912
> Project: Solr
>  Issue Type: Improvement
>Reporter: Anshum Gupta
>Assignee: Anshum Gupta
> Attachments: SOLR-7912.patch, SOLR-7912.patch, SOLR-7912.patch, 
> SOLR-7912.patch
>
>
> Continuing from SOLR-7639. We need to support boost, and also exclude input 
> document from returned doc list.



--
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] (SOLR-7912) Add support for boost and exclude the queried document id in MoreLikeThis QParser

2015-11-10 Thread Jens Wille (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-7912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14998829#comment-14998829
 ] 

Jens Wille commented on SOLR-7912:
--

You mean {{realMLTQuery.setDisableCoord(true)}}? That's not in 
{{MoreLikeThisHandler}} where I adapted the code from.

> Add support for boost and exclude the queried document id in MoreLikeThis 
> QParser
> -
>
> Key: SOLR-7912
> URL: https://issues.apache.org/jira/browse/SOLR-7912
> Project: Solr
>  Issue Type: Improvement
>Reporter: Anshum Gupta
>Assignee: Anshum Gupta
> Attachments: SOLR-7912.patch, SOLR-7912.patch, SOLR-7912.patch, 
> SOLR-7912.patch
>
>
> Continuing from SOLR-7639. We need to support boost, and also exclude input 
> document from returned doc list.



--
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] (SOLR-7912) Add support for boost and exclude the queried document id in MoreLikeThis QParser

2015-11-10 Thread Jens Wille (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-7912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14998372#comment-14998372
 ] 

Jens Wille commented on SOLR-7912:
--

Can we get this into 5.4? I've updated the patch in accordance with 
LUCENE-6590. Unfortunately, I can't run the tests due to an unrelated \(?) 
error: {{Type 'org/apache/solr/search/function/ValueSourceRangeFilter' (current 
frame, stack\[2]) is not assignable to 'org/apache/lucene/search/Filter'}}. Is 
there anything else that needs to be done?

> Add support for boost and exclude the queried document id in MoreLikeThis 
> QParser
> -
>
> Key: SOLR-7912
> URL: https://issues.apache.org/jira/browse/SOLR-7912
> Project: Solr
>  Issue Type: Improvement
>Reporter: Anshum Gupta
>Assignee: Anshum Gupta
> Attachments: SOLR-7912.patch, SOLR-7912.patch, SOLR-7912.patch
>
>
> Continuing from SOLR-7639. We need to support boost, and also exclude input 
> document from returned doc list.



--
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] (SOLR-7912) Add support for boost and exclude the queried document id in MoreLikeThis QParser

2015-11-10 Thread Jens Wille (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-7912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14998652#comment-14998652
 ] 

Jens Wille commented on SOLR-7912:
--

The type error went away after {{ant clean}}. I've updated the tests to account 
for the excluded query document. However, comparing parsed query strings in 
{{CloudMLTQParserTest}} is considerably more involved now; I'm not sure my 
approach is adequate (not to mention idiomatic).

> Add support for boost and exclude the queried document id in MoreLikeThis 
> QParser
> -
>
> Key: SOLR-7912
> URL: https://issues.apache.org/jira/browse/SOLR-7912
> Project: Solr
>  Issue Type: Improvement
>Reporter: Anshum Gupta
>Assignee: Anshum Gupta
> Attachments: SOLR-7912.patch, SOLR-7912.patch, SOLR-7912.patch, 
> SOLR-7912.patch
>
>
> Continuing from SOLR-7639. We need to support boost, and also exclude input 
> document from returned doc list.



--
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] (SOLR-7912) Add support for boost and exclude the queried document id in MoreLikeThis QParser

2015-08-12 Thread Jens Wille (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-7912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14693114#comment-14693114
 ] 

Jens Wille commented on SOLR-7912:
--

I've added the correct patch from SOLR-7639, applied against latest trunk.


 Add support for boost and exclude the queried document id in MoreLikeThis 
 QParser
 -

 Key: SOLR-7912
 URL: https://issues.apache.org/jira/browse/SOLR-7912
 Project: Solr
  Issue Type: Improvement
Reporter: Anshum Gupta
Assignee: Anshum Gupta
 Attachments: SOLR-7912.patch, SOLR-7912.patch


 Continuing from SOLR-7639. We need to support boost, and also exclude input 
 document from returned doc list.



--
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