[jira] [Updated] (SOLR-5973) Pluggable Ranking Collectors and Merge Strategies

2014-05-27 Thread Joel Bernstein (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-5973:
-

Attachment: SOLR-5973.patch

A new patch. Solves issues that were found while working on SOLR-6088.

 Pluggable Ranking Collectors and Merge Strategies
 -

 Key: SOLR-5973
 URL: https://issues.apache.org/jira/browse/SOLR-5973
 Project: Solr
  Issue Type: New Feature
  Components: search
Reporter: Joel Bernstein
Assignee: Joel Bernstein
Priority: Minor
 Fix For: 4.9

 Attachments: SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch


 This ticket introduces a new RankQuery and MergeStrategy to Solr. By 
 extending the RankQuery class, and implementing it's interface, you can 
 specify a custom ranking collector (TopDocsCollector) and distributed merge 
 strategy for a Solr query. 
 Sample syntax:
 {code}
 q={!customRank subquery=*:* param1=a param2=b}wt=jsonindent=true
 {code}
 In the sample above the param: {code}q={!customRank  subquery=*:* param1=a 
 param2=b}{code} points to a QParserPlugin that returns a Query that extends 
 RankQuery.  The RankQuery defines the custom ranking and merge strategy for 
 it's  subquery.
 The RankQuery impl will have to do several things:
 1) Implement the RankQuery interface.
 2) Wrap the subquery and proxy all calls to the Query interface to the 
 subquery. Using local params syntax the subquery can be any valid Solr query. 
 The custom QParserPlugin is responsible for parsing the subquery.
 3)  Implement hashCode() and equals() so the queryResultCache works properly 
 with subquery and custom ranking algorithm. 



--
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] [Updated] (SOLR-5973) Pluggable Ranking Collectors and Merge Strategies

2014-05-27 Thread Joel Bernstein (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-5973:
-

Description: 
This ticket introduces a new RankQuery and MergeStrategy to Solr. By extending 
the RankQuery class, and implementing it's interface, you can specify a custom 
ranking collector (TopDocsCollector) and distributed merge strategy for a Solr 
query. 



Sample syntax:

{code}
q=hellorq={!customRank param1=a param2=b}wt=jsonindent=true
{code}
In the sample above the param: {code}rq={!customRank  param1=a param2=b}{code} 
points to a QParserPlugin that returns a Query that extends RankQuery.  The 
RankQuery defines the custom ranking and merge strategy for the main query.

The RankQuery impl will have to do several things:

1) Implement the getTopDocsCollector() method to return a custom top docs 
ranking collector.
2) Implement the wrap() method. The QueryComponent calls the wrap() method to 
wrap the RankQuery around the main query. This design allows the RankQuery to 
manage Query caching issues and implement custom Query explanations if needed.
3)  Implement hashCode() and equals() so the queryResultCache works properly 
with main query and custom ranking algorithm.
 4) Optionally implement a custom MergeStrategy to handle the merging of 
distributed results from the shards.




  was:
This ticket introduces a new RankQuery and MergeStrategy to Solr. By extending 
the RankQuery class, and implementing it's interface, you can specify a custom 
ranking collector (TopDocsCollector) and distributed merge strategy for a Solr 
query. 



Sample syntax:

{code}
q={!customRank subquery=*:* param1=a param2=b}wt=jsonindent=true
{code}
In the sample above the param: {code}q={!customRank  subquery=*:* param1=a 
param2=b}{code} points to a QParserPlugin that returns a Query that extends 
RankQuery.  The RankQuery defines the custom ranking and merge strategy for 
it's  subquery.

The RankQuery impl will have to do several things:

1) Implement the RankQuery interface.
2) Wrap the subquery and proxy all calls to the Query interface to the 
subquery. Using local params syntax the subquery can be any valid Solr query. 
The custom QParserPlugin is responsible for parsing the subquery.
3)  Implement hashCode() and equals() so the queryResultCache works properly 
with subquery and custom ranking algorithm. 





 Pluggable Ranking Collectors and Merge Strategies
 -

 Key: SOLR-5973
 URL: https://issues.apache.org/jira/browse/SOLR-5973
 Project: Solr
  Issue Type: New Feature
  Components: search
Reporter: Joel Bernstein
Assignee: Joel Bernstein
Priority: Minor
 Fix For: 4.9

 Attachments: SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch


 This ticket introduces a new RankQuery and MergeStrategy to Solr. By 
 extending the RankQuery class, and implementing it's interface, you can 
 specify a custom ranking collector (TopDocsCollector) and distributed merge 
 strategy for a Solr query. 
 Sample syntax:
 {code}
 q=hellorq={!customRank param1=a param2=b}wt=jsonindent=true
 {code}
 In the sample above the param: {code}rq={!customRank  param1=a 
 param2=b}{code} points to a QParserPlugin that returns a Query that extends 
 RankQuery.  The RankQuery defines the custom ranking and merge strategy for 
 the main query.
 The RankQuery impl will have to do several things:
 1) Implement the getTopDocsCollector() method to return a custom top docs 
 ranking collector.
 2) Implement the wrap() method. The QueryComponent calls the wrap() method to 
 wrap the RankQuery around the main query. This design allows the RankQuery to 
 manage Query caching issues and implement custom Query explanations if needed.
 3)  Implement hashCode() and equals() so the queryResultCache works properly 
 with main query and custom ranking algorithm.
  4) Optionally implement a custom MergeStrategy to handle the merging of 
 distributed results from the shards.



--
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] [Updated] (SOLR-5973) Pluggable Ranking Collectors and Merge Strategies

2014-05-27 Thread Joel Bernstein (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-5973:
-

Description: 
This ticket introduces a new RankQuery and MergeStrategy to Solr. By extending 
the RankQuery class, and implementing it's interface, you can specify a custom 
ranking collector (TopDocsCollector) and distributed merge strategy for a Solr 
query. 



Sample syntax:

{code}
q=hellorq={!customRank param1=a param2=b}wt=jsonindent=true
{code}
In the sample above the new rq (rank query) param: {code}rq={!customRank  
param1=a param2=b}{code} points to a QParserPlugin that returns a Query that 
extends RankQuery.  The RankQuery defines the custom ranking and merge strategy 
for the main query.

The RankQuery impl will have to do several things:

1) Implement the getTopDocsCollector() method to return a custom top docs 
ranking collector.
2) Implement the wrap() method. The QueryComponent calls the wrap() method to 
wrap the RankQuery around the main query. This design allows the RankQuery to 
manage Query caching issues and implement custom Query explanations if needed.
3)  Implement hashCode() and equals() so the queryResultCache works properly 
with main query and custom ranking algorithm.
 4) Optionally implement a custom MergeStrategy to handle the merging of 
distributed results from the shards.




  was:
This ticket introduces a new RankQuery and MergeStrategy to Solr. By extending 
the RankQuery class, and implementing it's interface, you can specify a custom 
ranking collector (TopDocsCollector) and distributed merge strategy for a Solr 
query. 



Sample syntax:

{code}
q=hellorq={!customRank param1=a param2=b}wt=jsonindent=true
{code}
In the sample above the param: {code}rq={!customRank  param1=a param2=b}{code} 
points to a QParserPlugin that returns a Query that extends RankQuery.  The 
RankQuery defines the custom ranking and merge strategy for the main query.

The RankQuery impl will have to do several things:

1) Implement the getTopDocsCollector() method to return a custom top docs 
ranking collector.
2) Implement the wrap() method. The QueryComponent calls the wrap() method to 
wrap the RankQuery around the main query. This design allows the RankQuery to 
manage Query caching issues and implement custom Query explanations if needed.
3)  Implement hashCode() and equals() so the queryResultCache works properly 
with main query and custom ranking algorithm.
 4) Optionally implement a custom MergeStrategy to handle the merging of 
distributed results from the shards.





 Pluggable Ranking Collectors and Merge Strategies
 -

 Key: SOLR-5973
 URL: https://issues.apache.org/jira/browse/SOLR-5973
 Project: Solr
  Issue Type: New Feature
  Components: search
Reporter: Joel Bernstein
Assignee: Joel Bernstein
Priority: Minor
 Fix For: 4.9

 Attachments: SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch


 This ticket introduces a new RankQuery and MergeStrategy to Solr. By 
 extending the RankQuery class, and implementing it's interface, you can 
 specify a custom ranking collector (TopDocsCollector) and distributed merge 
 strategy for a Solr query. 
 Sample syntax:
 {code}
 q=hellorq={!customRank param1=a param2=b}wt=jsonindent=true
 {code}
 In the sample above the new rq (rank query) param: {code}rq={!customRank  
 param1=a param2=b}{code} points to a QParserPlugin that returns a Query that 
 extends RankQuery.  The RankQuery defines the custom ranking and merge 
 strategy for the main query.
 The RankQuery impl will have to do several things:
 1) Implement the getTopDocsCollector() method to return a custom top docs 
 ranking collector.
 2) Implement the wrap() method. The QueryComponent calls the wrap() method to 
 wrap the RankQuery around the main query. This design allows the RankQuery to 
 manage Query caching issues and implement custom Query explanations if needed.
 3)  Implement hashCode() and equals() so the queryResultCache works properly 
 with main query and custom ranking algorithm.
  4) Optionally implement a custom MergeStrategy to handle the merging of 
 distributed results from the shards.



--
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] [Updated] (SOLR-5973) Pluggable Ranking Collectors and Merge Strategies

2014-05-15 Thread Joel Bernstein (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-5973:
-

Summary: Pluggable Ranking Collectors and Merge Strategies  (was: Pluggable 
Ranking Collectors)

 Pluggable Ranking Collectors and Merge Strategies
 -

 Key: SOLR-5973
 URL: https://issues.apache.org/jira/browse/SOLR-5973
 Project: Solr
  Issue Type: New Feature
  Components: search
Reporter: Joel Bernstein
Assignee: Joel Bernstein
Priority: Minor
 Fix For: 4.9

 Attachments: SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch


 This ticket introduces a new RankQuery and MergeStrategy to Solr. By 
 extending the RankQuery class, and implementing it's interface, you can 
 specify a custom ranking collector (TopDocsCollector) and distributed merge 
 strategy for a Solr query. 
 Sample syntax:
 {code}
 q={!customRank subquery=*:* param1=a param2=b}wt=jsonindent=true
 {code}
 In the sample above the param: {code}q={!customRank  subquery=*:* param1=a 
 param2=b}{code} points to a QParserPlugin that returns a Query that extends 
 RankQuery.  The RankQuery defines the custom ranking and merge strategy for 
 it's  subquery.
 The RankQuery impl will have to do several things:
 1) Implement the RankQuery interface.
 2) Wrap the subquery and proxy all calls to the Query interface to the 
 subquery. Using local params syntax the subquery can be any valid Solr query. 
 The custom QParserPlugin is responsible for parsing the subquery.
 3)  Implement hashCode() and equals() so the queryResultCache works properly 
 with subquery and custom ranking algorithm. 



--
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] [Updated] (SOLR-5973) Pluggable Ranking Collectors and Merge Strategies

2014-05-15 Thread Joel Bernstein (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-5973:
-

Attachment: SOLR-5973.patch

 Pluggable Ranking Collectors and Merge Strategies
 -

 Key: SOLR-5973
 URL: https://issues.apache.org/jira/browse/SOLR-5973
 Project: Solr
  Issue Type: New Feature
  Components: search
Reporter: Joel Bernstein
Assignee: Joel Bernstein
Priority: Minor
 Fix For: 4.9

 Attachments: SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch


 This ticket introduces a new RankQuery and MergeStrategy to Solr. By 
 extending the RankQuery class, and implementing it's interface, you can 
 specify a custom ranking collector (TopDocsCollector) and distributed merge 
 strategy for a Solr query. 
 Sample syntax:
 {code}
 q={!customRank subquery=*:* param1=a param2=b}wt=jsonindent=true
 {code}
 In the sample above the param: {code}q={!customRank  subquery=*:* param1=a 
 param2=b}{code} points to a QParserPlugin that returns a Query that extends 
 RankQuery.  The RankQuery defines the custom ranking and merge strategy for 
 it's  subquery.
 The RankQuery impl will have to do several things:
 1) Implement the RankQuery interface.
 2) Wrap the subquery and proxy all calls to the Query interface to the 
 subquery. Using local params syntax the subquery can be any valid Solr query. 
 The custom QParserPlugin is responsible for parsing the subquery.
 3)  Implement hashCode() and equals() so the queryResultCache works properly 
 with subquery and custom ranking algorithm. 



--
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] [Updated] (SOLR-5973) Pluggable Ranking Collectors

2014-05-14 Thread Joel Bernstein (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-5973:
-

Attachment: SOLR-5973.patch

 Pluggable Ranking Collectors
 

 Key: SOLR-5973
 URL: https://issues.apache.org/jira/browse/SOLR-5973
 Project: Solr
  Issue Type: New Feature
  Components: search
Reporter: Joel Bernstein
Assignee: Joel Bernstein
Priority: Minor
 Fix For: 4.9

 Attachments: SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch


 This ticket introduces a new RankQuery and MergeStrategy to Solr. By 
 extending the RankQuery class, and implementing it's interface, you can 
 specify a custom ranking collector (TopDocsCollector) and distributed merge 
 strategy for a Solr query. 
 A new rq http parameter was added to support specifying a rank query using 
 a custom QParserPlugin.
 Sample syntax:
 {code}
 q=*:*wt=jsonindent=truerq={!myranker}
 {code}
 In the sample above the param: {code}rq={!myranker}{code} points to a 
 QParserPlugin that returns a Query that extends RankQuery. 



--
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] [Updated] (SOLR-5973) Pluggable Ranking Collectors

2014-05-14 Thread Joel Bernstein (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-5973:
-

Description: 
This ticket introduces a new RankQuery and MergeStrategy to Solr. By extending 
the RankQuery class, and implementing it's interface, you can specify a custom 
ranking collector (TopDocsCollector) and distributed merge strategy for a Solr 
query. 



Sample syntax:

{code}
q={!customRank subquery=*:* param1=a param2=b}wt=jsonindent=true
{code}
In the sample above the param: {code}q={!customRank  subquery=*:* param1=a 
param2=b}{code} points to a QParserPlugin that returns a Query that extends 
RankQuery.  The RankQuery defines the custom ranking and merge strategy for 
it's  subquery.

The RankQuery impl will have to do several things:

1) Implement the RankQuery interface.
2) Wrap the subquery and proxy all calls to the Query interface to the 
subquery. Using local params syntax the subquery can be any valid Solr query. 
The custom QParserPlugin is responsible for parsing the subquery.
3)  Implement hashCode() and equals() so the queryResultCache works properly 
with subquery and custom ranking algorithm. 




  was:
This ticket introduces a new RankQuery and MergeStrategy to Solr. By extending 
the RankQuery class, and implementing it's interface, you can specify a custom 
ranking collector (TopDocsCollector) and distributed merge strategy for a Solr 
query. 

A new rq http parameter was added to support specifying a rank query using a 
custom QParserPlugin.

Sample syntax:

{code}
q=*:*wt=jsonindent=truerq={!myranker}
{code}
In the sample above the param: {code}rq={!myranker}{code} points to a 
QParserPlugin that returns a Query that extends RankQuery. 





 Pluggable Ranking Collectors
 

 Key: SOLR-5973
 URL: https://issues.apache.org/jira/browse/SOLR-5973
 Project: Solr
  Issue Type: New Feature
  Components: search
Reporter: Joel Bernstein
Assignee: Joel Bernstein
Priority: Minor
 Fix For: 4.9

 Attachments: SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch


 This ticket introduces a new RankQuery and MergeStrategy to Solr. By 
 extending the RankQuery class, and implementing it's interface, you can 
 specify a custom ranking collector (TopDocsCollector) and distributed merge 
 strategy for a Solr query. 
 Sample syntax:
 {code}
 q={!customRank subquery=*:* param1=a param2=b}wt=jsonindent=true
 {code}
 In the sample above the param: {code}q={!customRank  subquery=*:* param1=a 
 param2=b}{code} points to a QParserPlugin that returns a Query that extends 
 RankQuery.  The RankQuery defines the custom ranking and merge strategy for 
 it's  subquery.
 The RankQuery impl will have to do several things:
 1) Implement the RankQuery interface.
 2) Wrap the subquery and proxy all calls to the Query interface to the 
 subquery. Using local params syntax the subquery can be any valid Solr query. 
 The custom QParserPlugin is responsible for parsing the subquery.
 3)  Implement hashCode() and equals() so the queryResultCache works properly 
 with subquery and custom ranking algorithm. 



--
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] [Updated] (SOLR-5973) Pluggable Ranking Collectors

2014-05-04 Thread Joel Bernstein (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-5973:
-

Attachment: SOLR-5973.patch

New design where TopDocCollector and MergeStrategy can be injected via 
QParserPlugin. 



 Pluggable Ranking Collectors
 

 Key: SOLR-5973
 URL: https://issues.apache.org/jira/browse/SOLR-5973
 Project: Solr
  Issue Type: New Feature
  Components: search
Reporter: Joel Bernstein
Assignee: Joel Bernstein
Priority: Minor
 Fix For: 4.9

 Attachments: SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch


 This ticket adds the ability to plugin a custom ranking collector to Solr. 
 The proposed design is much simpler then SOLR-4465, which includes 
 configuration support and support for pluggable analytics collectors.
 In this design, a CollectorFactory can be set onto the ResponseBuilder by a 
 custom SearchComponent. The CollectorFactory is then used to inject a custom 
 TopDocsCollector into the SolrIndexSearcher.



--
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] [Updated] (SOLR-5973) Pluggable Ranking Collectors

2014-05-04 Thread Joel Bernstein (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-5973:
-

Description: 
This ticket introduces a new RankQuery and MergeStrategy to Solr. By extending 
the RankQuery class and implementing it's interface you can specify a custom 
ranking collector (TopDocsCollector) and distributed merge strategy for a Solr 
query. 

A new rq http parameter was added to support specifying a rank query using a 
custom QParserPlugin.

Sample syntax:

q=*:*wt=jsonindent=truerq={!rank}

In the sample above the rq={!rank} points to a QParserPlugin that extends 
RankQuery. 




  was:
This ticket adds the ability to plugin a custom ranking collector to Solr. The 
proposed design is much simpler then SOLR-4465, which includes configuration 
support and support for pluggable analytics collectors.

In this design, a CollectorFactory can be set onto the ResponseBuilder by a 
custom SearchComponent. The CollectorFactory is then used to inject a custom 
TopDocsCollector into the SolrIndexSearcher.





 Pluggable Ranking Collectors
 

 Key: SOLR-5973
 URL: https://issues.apache.org/jira/browse/SOLR-5973
 Project: Solr
  Issue Type: New Feature
  Components: search
Reporter: Joel Bernstein
Assignee: Joel Bernstein
Priority: Minor
 Fix For: 4.9

 Attachments: SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch


 This ticket introduces a new RankQuery and MergeStrategy to Solr. By 
 extending the RankQuery class and implementing it's interface you can specify 
 a custom ranking collector (TopDocsCollector) and distributed merge strategy 
 for a Solr query. 
 A new rq http parameter was added to support specifying a rank query using 
 a custom QParserPlugin.
 Sample syntax:
 q=*:*wt=jsonindent=truerq={!rank}
 In the sample above the rq={!rank} points to a QParserPlugin that extends 
 RankQuery. 



--
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] [Updated] (SOLR-5973) Pluggable Ranking Collectors

2014-05-04 Thread Joel Bernstein (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-5973:
-

Description: 
This ticket introduces a new RankQuery and MergeStrategy to Solr. By extending 
the RankQuery class, and implementing it's interface, you can specify a custom 
ranking collector (TopDocsCollector) and distributed merge strategy for a Solr 
query. 

A new rq http parameter was added to support specifying a rank query using a 
custom QParserPlugin.

Sample syntax:

q=*:*wt=jsonindent=truerq={!rank}

In the sample above the rq={!rank} points to a QParserPlugin that extends 
RankQuery. 




  was:
This ticket introduces a new RankQuery and MergeStrategy to Solr. By extending 
the RankQuery class and implementing it's interface you can specify a custom 
ranking collector (TopDocsCollector) and distributed merge strategy for a Solr 
query. 

A new rq http parameter was added to support specifying a rank query using a 
custom QParserPlugin.

Sample syntax:

q=*:*wt=jsonindent=truerq={!rank}

In the sample above the rq={!rank} points to a QParserPlugin that extends 
RankQuery. 





 Pluggable Ranking Collectors
 

 Key: SOLR-5973
 URL: https://issues.apache.org/jira/browse/SOLR-5973
 Project: Solr
  Issue Type: New Feature
  Components: search
Reporter: Joel Bernstein
Assignee: Joel Bernstein
Priority: Minor
 Fix For: 4.9

 Attachments: SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch


 This ticket introduces a new RankQuery and MergeStrategy to Solr. By 
 extending the RankQuery class, and implementing it's interface, you can 
 specify a custom ranking collector (TopDocsCollector) and distributed merge 
 strategy for a Solr query. 
 A new rq http parameter was added to support specifying a rank query using 
 a custom QParserPlugin.
 Sample syntax:
 q=*:*wt=jsonindent=truerq={!rank}
 In the sample above the rq={!rank} points to a QParserPlugin that extends 
 RankQuery. 



--
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] [Updated] (SOLR-5973) Pluggable Ranking Collectors

2014-05-04 Thread Joel Bernstein (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-5973:
-

Description: 
This ticket introduces a new RankQuery and MergeStrategy to Solr. By extending 
the RankQuery class, and implementing it's interface, you can specify a custom 
ranking collector (TopDocsCollector) and distributed merge strategy for a Solr 
query. 

A new rq http parameter was added to support specifying a rank query using a 
custom QParserPlugin.

Sample syntax:

{code}
q=*:*wt=jsonindent=truerq={!rank}
{code}
In the sample above the rq={!rank} points to a QParserPlugin that extends 
RankQuery. 




  was:
This ticket introduces a new RankQuery and MergeStrategy to Solr. By extending 
the RankQuery class, and implementing it's interface, you can specify a custom 
ranking collector (TopDocsCollector) and distributed merge strategy for a Solr 
query. 

A new rq http parameter was added to support specifying a rank query using a 
custom QParserPlugin.

Sample syntax:

q=*:*wt=jsonindent=truerq={!rank}

In the sample above the rq={!rank} points to a QParserPlugin that extends 
RankQuery. 





 Pluggable Ranking Collectors
 

 Key: SOLR-5973
 URL: https://issues.apache.org/jira/browse/SOLR-5973
 Project: Solr
  Issue Type: New Feature
  Components: search
Reporter: Joel Bernstein
Assignee: Joel Bernstein
Priority: Minor
 Fix For: 4.9

 Attachments: SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch


 This ticket introduces a new RankQuery and MergeStrategy to Solr. By 
 extending the RankQuery class, and implementing it's interface, you can 
 specify a custom ranking collector (TopDocsCollector) and distributed merge 
 strategy for a Solr query. 
 A new rq http parameter was added to support specifying a rank query using 
 a custom QParserPlugin.
 Sample syntax:
 {code}
 q=*:*wt=jsonindent=truerq={!rank}
 {code}
 In the sample above the rq={!rank} points to a QParserPlugin that extends 
 RankQuery. 



--
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] [Updated] (SOLR-5973) Pluggable Ranking Collectors

2014-05-04 Thread Joel Bernstein (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-5973:
-

Description: 
This ticket introduces a new RankQuery and MergeStrategy to Solr. By extending 
the RankQuery class, and implementing it's interface, you can specify a custom 
ranking collector (TopDocsCollector) and distributed merge strategy for a Solr 
query. 

A new rq http parameter was added to support specifying a rank query using a 
custom QParserPlugin.

Sample syntax:

{code}
q=*:*wt=jsonindent=truerq={!rank}
{code}
In the sample above the {code}rq={!rank}{code} points to a QParserPlugin that 
extends RankQuery. 




  was:
This ticket introduces a new RankQuery and MergeStrategy to Solr. By extending 
the RankQuery class, and implementing it's interface, you can specify a custom 
ranking collector (TopDocsCollector) and distributed merge strategy for a Solr 
query. 

A new rq http parameter was added to support specifying a rank query using a 
custom QParserPlugin.

Sample syntax:

{code}
q=*:*wt=jsonindent=truerq={!rank}
{code}
In the sample above the rq={!rank} points to a QParserPlugin that extends 
RankQuery. 





 Pluggable Ranking Collectors
 

 Key: SOLR-5973
 URL: https://issues.apache.org/jira/browse/SOLR-5973
 Project: Solr
  Issue Type: New Feature
  Components: search
Reporter: Joel Bernstein
Assignee: Joel Bernstein
Priority: Minor
 Fix For: 4.9

 Attachments: SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch


 This ticket introduces a new RankQuery and MergeStrategy to Solr. By 
 extending the RankQuery class, and implementing it's interface, you can 
 specify a custom ranking collector (TopDocsCollector) and distributed merge 
 strategy for a Solr query. 
 A new rq http parameter was added to support specifying a rank query using 
 a custom QParserPlugin.
 Sample syntax:
 {code}
 q=*:*wt=jsonindent=truerq={!rank}
 {code}
 In the sample above the {code}rq={!rank}{code} points to a QParserPlugin that 
 extends RankQuery. 



--
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] [Updated] (SOLR-5973) Pluggable Ranking Collectors

2014-05-04 Thread Joel Bernstein (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-5973:
-

Description: 
This ticket introduces a new RankQuery and MergeStrategy to Solr. By extending 
the RankQuery class, and implementing it's interface, you can specify a custom 
ranking collector (TopDocsCollector) and distributed merge strategy for a Solr 
query. 

A new rq http parameter was added to support specifying a rank query using a 
custom QParserPlugin.

Sample syntax:

{code}
q=*:*wt=jsonindent=truerq={!rank}
{code}
In the sample above the {code}rq={!rank}{code} points to a QParserPlugin that 
returns a RankQuery. 




  was:
This ticket introduces a new RankQuery and MergeStrategy to Solr. By extending 
the RankQuery class, and implementing it's interface, you can specify a custom 
ranking collector (TopDocsCollector) and distributed merge strategy for a Solr 
query. 

A new rq http parameter was added to support specifying a rank query using a 
custom QParserPlugin.

Sample syntax:

{code}
q=*:*wt=jsonindent=truerq={!rank}
{code}
In the sample above the {code}rq={!rank}{code} points to a QParserPlugin that 
extends RankQuery. 





 Pluggable Ranking Collectors
 

 Key: SOLR-5973
 URL: https://issues.apache.org/jira/browse/SOLR-5973
 Project: Solr
  Issue Type: New Feature
  Components: search
Reporter: Joel Bernstein
Assignee: Joel Bernstein
Priority: Minor
 Fix For: 4.9

 Attachments: SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch


 This ticket introduces a new RankQuery and MergeStrategy to Solr. By 
 extending the RankQuery class, and implementing it's interface, you can 
 specify a custom ranking collector (TopDocsCollector) and distributed merge 
 strategy for a Solr query. 
 A new rq http parameter was added to support specifying a rank query using 
 a custom QParserPlugin.
 Sample syntax:
 {code}
 q=*:*wt=jsonindent=truerq={!rank}
 {code}
 In the sample above the {code}rq={!rank}{code} points to a QParserPlugin that 
 returns a RankQuery. 



--
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] [Updated] (SOLR-5973) Pluggable Ranking Collectors

2014-05-04 Thread Joel Bernstein (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-5973:
-

Description: 
This ticket introduces a new RankQuery and MergeStrategy to Solr. By extending 
the RankQuery class, and implementing it's interface, you can specify a custom 
ranking collector (TopDocsCollector) and distributed merge strategy for a Solr 
query. 

A new rq http parameter was added to support specifying a rank query using a 
custom QParserPlugin.

Sample syntax:

{code}
q=*:*wt=jsonindent=truerq={!myranker}
{code}
In the sample above the param: {code}rq={!myranker}{code} points to a 
QParserPlugin that returns a Query that extends RankQuery. 




  was:
This ticket introduces a new RankQuery and MergeStrategy to Solr. By extending 
the RankQuery class, and implementing it's interface, you can specify a custom 
ranking collector (TopDocsCollector) and distributed merge strategy for a Solr 
query. 

A new rq http parameter was added to support specifying a rank query using a 
custom QParserPlugin.

Sample syntax:

{code}
q=*:*wt=jsonindent=truerq={!rank}
{code}
In the sample above the {code}rq={!rank}{code} points to a QParserPlugin that 
returns a RankQuery. 





 Pluggable Ranking Collectors
 

 Key: SOLR-5973
 URL: https://issues.apache.org/jira/browse/SOLR-5973
 Project: Solr
  Issue Type: New Feature
  Components: search
Reporter: Joel Bernstein
Assignee: Joel Bernstein
Priority: Minor
 Fix For: 4.9

 Attachments: SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch


 This ticket introduces a new RankQuery and MergeStrategy to Solr. By 
 extending the RankQuery class, and implementing it's interface, you can 
 specify a custom ranking collector (TopDocsCollector) and distributed merge 
 strategy for a Solr query. 
 A new rq http parameter was added to support specifying a rank query using 
 a custom QParserPlugin.
 Sample syntax:
 {code}
 q=*:*wt=jsonindent=truerq={!myranker}
 {code}
 In the sample above the param: {code}rq={!myranker}{code} points to a 
 QParserPlugin that returns a Query that extends RankQuery. 



--
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] [Updated] (SOLR-5973) Pluggable Ranking Collectors

2014-04-27 Thread Joel Bernstein (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-5973:
-

Attachment: SOLR-5973.patch

Added MergeStrategy ordering test.

 Pluggable Ranking Collectors
 

 Key: SOLR-5973
 URL: https://issues.apache.org/jira/browse/SOLR-5973
 Project: Solr
  Issue Type: New Feature
  Components: search
Reporter: Joel Bernstein
Assignee: Joel Bernstein
Priority: Minor
 Fix For: 4.9

 Attachments: SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch


 This ticket adds the ability to plugin a custom ranking collector to Solr. 
 The proposed design is much simpler then SOLR-4465, which includes 
 configuration support and support for pluggable analytics collectors.
 In this design, a CollectorFactory can be set onto the ResponseBuilder by a 
 custom SearchComponent. The CollectorFactory is then used to inject a custom 
 TopDocsCollector into the SolrIndexSearcher.



--
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] [Updated] (SOLR-5973) Pluggable Ranking Collectors

2014-04-26 Thread Joel Bernstein (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-5973:
-

Attachment: SOLR-5973.patch

More mergeStrategy tests. Passes precommit.

 Pluggable Ranking Collectors
 

 Key: SOLR-5973
 URL: https://issues.apache.org/jira/browse/SOLR-5973
 Project: Solr
  Issue Type: New Feature
  Components: search
Reporter: Joel Bernstein
Assignee: Joel Bernstein
Priority: Minor
 Fix For: 4.9

 Attachments: SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch


 This ticket adds the ability to plugin a custom ranking collector to Solr. 
 The proposed design is much simpler then SOLR-4465, which includes 
 configuration support and support for pluggable analytics collectors.
 In this design, a CollectorFactory can be set onto the ResponseBuilder by a 
 custom SearchComponent. The CollectorFactory is then used to inject a custom 
 TopDocsCollector into the SolrIndexSearcher.



--
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] [Updated] (SOLR-5973) Pluggable Ranking Collectors

2014-04-26 Thread Joel Bernstein (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-5973:
-

Attachment: SOLR-5973.patch

Added getCost() method to MergeStrategies.

 Pluggable Ranking Collectors
 

 Key: SOLR-5973
 URL: https://issues.apache.org/jira/browse/SOLR-5973
 Project: Solr
  Issue Type: New Feature
  Components: search
Reporter: Joel Bernstein
Assignee: Joel Bernstein
Priority: Minor
 Fix For: 4.9

 Attachments: SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch


 This ticket adds the ability to plugin a custom ranking collector to Solr. 
 The proposed design is much simpler then SOLR-4465, which includes 
 configuration support and support for pluggable analytics collectors.
 In this design, a CollectorFactory can be set onto the ResponseBuilder by a 
 custom SearchComponent. The CollectorFactory is then used to inject a custom 
 TopDocsCollector into the SolrIndexSearcher.



--
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] [Updated] (SOLR-5973) Pluggable Ranking Collectors

2014-04-25 Thread Joel Bernstein (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-5973:
-

Attachment: SOLR-5973.patch

Added mergeStrategy test using sort criteria other then score.

 Pluggable Ranking Collectors
 

 Key: SOLR-5973
 URL: https://issues.apache.org/jira/browse/SOLR-5973
 Project: Solr
  Issue Type: New Feature
  Components: search
Reporter: Joel Bernstein
Assignee: Joel Bernstein
Priority: Minor
 Fix For: 4.9

 Attachments: SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch


 This ticket adds the ability to plugin a custom ranking collector to Solr. 
 The proposed design is much simpler then SOLR-4465, which includes 
 configuration support and support for pluggable analytics collectors.
 In this design, a CollectorFactory can be set onto the ResponseBuilder by a 
 custom SearchComponent. The CollectorFactory is then used to inject a custom 
 TopDocsCollector into the SolrIndexSearcher.



--
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] [Updated] (SOLR-5973) Pluggable Ranking Collectors

2014-04-21 Thread Joel Bernstein (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-5973:
-

Attachment: SOLR-5973.patch

Added MergeStrategyTest which ensures the basic plumbing for pluggable 
MergeStrategies is working.



 Pluggable Ranking Collectors
 

 Key: SOLR-5973
 URL: https://issues.apache.org/jira/browse/SOLR-5973
 Project: Solr
  Issue Type: New Feature
  Components: search
Reporter: Joel Bernstein
Assignee: Joel Bernstein
Priority: Minor
 Fix For: 4.9

 Attachments: SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch


 This ticket adds the ability to plugin a custom ranking collector to Solr. 
 The proposed design is much simpler then SOLR-4465, which includes 
 configuration support and support for pluggable analytics collectors.
 In this design, a CollectorFactory can be set onto the ResponseBuilder by a 
 custom SearchComponent. The CollectorFactory is then used to inject a custom 
 TopDocsCollector into the SolrIndexSearcher.



--
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] [Updated] (SOLR-5973) Pluggable Ranking Collectors

2014-04-21 Thread Joel Bernstein (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-5973:
-

Attachment: SOLR-5973.patch

Patch with all unit tests passing.

 Pluggable Ranking Collectors
 

 Key: SOLR-5973
 URL: https://issues.apache.org/jira/browse/SOLR-5973
 Project: Solr
  Issue Type: New Feature
  Components: search
Reporter: Joel Bernstein
Assignee: Joel Bernstein
Priority: Minor
 Fix For: 4.9

 Attachments: SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch


 This ticket adds the ability to plugin a custom ranking collector to Solr. 
 The proposed design is much simpler then SOLR-4465, which includes 
 configuration support and support for pluggable analytics collectors.
 In this design, a CollectorFactory can be set onto the ResponseBuilder by a 
 custom SearchComponent. The CollectorFactory is then used to inject a custom 
 TopDocsCollector into the SolrIndexSearcher.



--
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] [Updated] (SOLR-5973) Pluggable Ranking Collectors

2014-04-15 Thread Joel Bernstein (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-5973:
-

Attachment: SOLR-5973.patch

Changed the QueryResultKeyTest to work with new QueryResultKey. Still needs 
test for QueryResultKeys with a non-null CollectorFactory.

 Pluggable Ranking Collectors
 

 Key: SOLR-5973
 URL: https://issues.apache.org/jira/browse/SOLR-5973
 Project: Solr
  Issue Type: New Feature
  Components: search
Reporter: Joel Bernstein
Assignee: Joel Bernstein
Priority: Minor
 Fix For: 4.9

 Attachments: SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch


 This ticket adds the ability to plugin a custom ranking collector to Solr. 
 The proposed design is much simpler then SOLR-4465, which includes 
 configuration support and support for pluggable analytics collectors.
 In this design, a CollectorFactory can be set onto the ResponseBuilder by a 
 custom SearchComponent. The CollectorFactory is then used to inject a custom 
 TopDocsCollector into the SolrIndexSearcher.



--
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] [Updated] (SOLR-5973) Pluggable Ranking Collectors

2014-04-15 Thread Joel Bernstein (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-5973:
-

Attachment: SOLR-5973.patch

Added tests for QueryResultKey equality with CollectorFactories.

 Pluggable Ranking Collectors
 

 Key: SOLR-5973
 URL: https://issues.apache.org/jira/browse/SOLR-5973
 Project: Solr
  Issue Type: New Feature
  Components: search
Reporter: Joel Bernstein
Assignee: Joel Bernstein
Priority: Minor
 Fix For: 4.9

 Attachments: SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch


 This ticket adds the ability to plugin a custom ranking collector to Solr. 
 The proposed design is much simpler then SOLR-4465, which includes 
 configuration support and support for pluggable analytics collectors.
 In this design, a CollectorFactory can be set onto the ResponseBuilder by a 
 custom SearchComponent. The CollectorFactory is then used to inject a custom 
 TopDocsCollector into the SolrIndexSearcher.



--
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] [Updated] (SOLR-5973) Pluggable Ranking Collectors

2014-04-14 Thread Joel Bernstein (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-5973:
-

Attachment: SOLR-5973.patch

Added tests for pluggable CollectorFactory via custom SearchComponent.

 Pluggable Ranking Collectors
 

 Key: SOLR-5973
 URL: https://issues.apache.org/jira/browse/SOLR-5973
 Project: Solr
  Issue Type: New Feature
  Components: search
Reporter: Joel Bernstein
Assignee: Joel Bernstein
Priority: Minor
 Fix For: 4.9

 Attachments: SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch


 This ticket adds the ability to plugin a custom ranking collector to Solr. 
 The proposed design is much simpler then SOLR-4465, which includes 
 configuration support and support for pluggable analytics collectors.
 In this design, a CollectorFactory can be set onto the ResponseBuilder by a 
 custom SearchComponent. The CollectorFactory is then used to inject a custom 
 TopDocsCollector into the SolrIndexSearcher.



--
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] [Updated] (SOLR-5973) Pluggable Ranking Collectors

2014-04-14 Thread Joel Bernstein (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-5973:
-

Attachment: SOLR-5973.patch

Added support for the QueryResultCache by adding the CollectorFactory to the 
QueryResultKey. This is needed because the CollectorFactory dictates the sort 
order. Also added support for QueryResultCache autoWarming with 
CollectorFactories. 

 Pluggable Ranking Collectors
 

 Key: SOLR-5973
 URL: https://issues.apache.org/jira/browse/SOLR-5973
 Project: Solr
  Issue Type: New Feature
  Components: search
Reporter: Joel Bernstein
Assignee: Joel Bernstein
Priority: Minor
 Fix For: 4.9

 Attachments: SOLR-5973.patch, SOLR-5973.patch, SOLR-5973.patch, 
 SOLR-5973.patch


 This ticket adds the ability to plugin a custom ranking collector to Solr. 
 The proposed design is much simpler then SOLR-4465, which includes 
 configuration support and support for pluggable analytics collectors.
 In this design, a CollectorFactory can be set onto the ResponseBuilder by a 
 custom SearchComponent. The CollectorFactory is then used to inject a custom 
 TopDocsCollector into the SolrIndexSearcher.



--
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] [Updated] (SOLR-5973) Pluggable Ranking Collectors

2014-04-13 Thread Joel Bernstein (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-5973:
-

Fix Version/s: 4.9

 Pluggable Ranking Collectors
 

 Key: SOLR-5973
 URL: https://issues.apache.org/jira/browse/SOLR-5973
 Project: Solr
  Issue Type: New Feature
  Components: search
Reporter: Joel Bernstein
Assignee: Joel Bernstein
Priority: Minor
 Fix For: 4.9

 Attachments: SOLR-5973.patch, SOLR-5973.patch


 This ticket adds the ability to plugin a custom ranking collector to Solr. 
 The proposed design is much simpler then SOLR-4465, which includes 
 configuration support and support for pluggable analytics collectors.
 In this design, a CollectorFactory can be set onto the ResponseBuilder by a 
 custom SearchComponent. The CollectorFactory is then used to inject a custom 
 TopDocsCollector into the SolrIndexSearcher.



--
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] [Updated] (SOLR-5973) Pluggable Ranking Collectors

2014-04-08 Thread Joel Bernstein (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-5973:
-

Attachment: SOLR-5973.patch

Initial patch. Will deal with the custom distributed merge strategies in later 
patches.

 Pluggable Ranking Collectors
 

 Key: SOLR-5973
 URL: https://issues.apache.org/jira/browse/SOLR-5973
 Project: Solr
  Issue Type: New Feature
  Components: search
Reporter: Joel Bernstein
Assignee: Joel Bernstein
Priority: Minor
 Attachments: SOLR-5973.patch


 This adds the ability to plugin a custom ranking collector. This is a much 
 simpler design then SOLR-4465,  which included configuration support and 
 support for pluggable analytics collectors as well.
 In this design a ranking collector can be plugged in via a custom 
 SearchComponent which would add a custom CollectorFactory to the 
 ResponseBuilder.
  



--
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] [Updated] (SOLR-5973) Pluggable Ranking Collectors

2014-04-08 Thread Joel Bernstein (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-5973:
-

Attachment: SOLR-5973.patch

Added pluggable MergeStrategy to handle custom distributed merge logic.

 Pluggable Ranking Collectors
 

 Key: SOLR-5973
 URL: https://issues.apache.org/jira/browse/SOLR-5973
 Project: Solr
  Issue Type: New Feature
  Components: search
Reporter: Joel Bernstein
Assignee: Joel Bernstein
Priority: Minor
 Attachments: SOLR-5973.patch, SOLR-5973.patch


 This adds the ability to plugin a custom ranking collector. This is a much 
 simpler design then SOLR-4465,  which included configuration support and 
 support for pluggable analytics collectors as well.
 In this design a ranking collector can be plugged in via a custom 
 SearchComponent which would add a custom CollectorFactory to the 
 ResponseBuilder.
  



--
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] [Updated] (SOLR-5973) Pluggable Ranking Collectors

2014-04-08 Thread Joel Bernstein (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-5973:
-

Description: 
This ticket adds the ability to plugin a custom ranking collector to Solr. The 
proposed design is much simpler then SOLR-4465, which includes configuration 
support and support for pluggable analytics collectors.

In this design, a ranking collector can be plugged in via a custom 
SearchComponent, which can add a custom CollectorFactory to the ResponseBuilder.
 






  was:
This adds the ability to plugin a custom ranking collector. This is a much 
simpler design then SOLR-4465,  which included configuration support and 
support for pluggable analytics collectors as well.

In this design a ranking collector can be plugged in via a custom 
SearchComponent which would add a custom CollectorFactory to the 
ResponseBuilder.
 







 Pluggable Ranking Collectors
 

 Key: SOLR-5973
 URL: https://issues.apache.org/jira/browse/SOLR-5973
 Project: Solr
  Issue Type: New Feature
  Components: search
Reporter: Joel Bernstein
Assignee: Joel Bernstein
Priority: Minor
 Attachments: SOLR-5973.patch, SOLR-5973.patch


 This ticket adds the ability to plugin a custom ranking collector to Solr. 
 The proposed design is much simpler then SOLR-4465, which includes 
 configuration support and support for pluggable analytics collectors.
 In this design, a ranking collector can be plugged in via a custom 
 SearchComponent, which can add a custom CollectorFactory to the 
 ResponseBuilder.
  



--
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] [Updated] (SOLR-5973) Pluggable Ranking Collectors

2014-04-08 Thread Joel Bernstein (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joel Bernstein updated SOLR-5973:
-

Description: 
This ticket adds the ability to plugin a custom ranking collector to Solr. The 
proposed design is much simpler then SOLR-4465, which includes configuration 
support and support for pluggable analytics collectors.

In this design, a CollectorFactory can be set onto the ResponseBuilder by a 
custom SearchComponent. The CollectorFactory is then used to inject a custom 
TopDocsCollector into the SolrIndexSearcher.




  was:
This ticket adds the ability to plugin a custom ranking collector to Solr. The 
proposed design is much simpler then SOLR-4465, which includes configuration 
support and support for pluggable analytics collectors.

In this design, a ranking collector can be plugged in via a custom 
SearchComponent, which can add a custom CollectorFactory to the ResponseBuilder.
 







 Pluggable Ranking Collectors
 

 Key: SOLR-5973
 URL: https://issues.apache.org/jira/browse/SOLR-5973
 Project: Solr
  Issue Type: New Feature
  Components: search
Reporter: Joel Bernstein
Assignee: Joel Bernstein
Priority: Minor
 Attachments: SOLR-5973.patch, SOLR-5973.patch


 This ticket adds the ability to plugin a custom ranking collector to Solr. 
 The proposed design is much simpler then SOLR-4465, which includes 
 configuration support and support for pluggable analytics collectors.
 In this design, a CollectorFactory can be set onto the ResponseBuilder by a 
 custom SearchComponent. The CollectorFactory is then used to inject a custom 
 TopDocsCollector into the SolrIndexSearcher.



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