I have a need to favor documents from one shard over another when duplicates
occur. I found this code in the query component:
String prevShard = uniqueDoc.put(id, srsp.getShard());
if (prevShard != null) {
// duplicate detected
numFound--;
be to add
sub-responses to the queue in the preferred order... so if we received
the response from shard2 before shard1, we would just queue it up and
wait for the response to shard1.
-Yonik
http://www.lucidimagination.com
On Sat, Feb 6, 2010 at 10:35 AM, mike anderson saidthero
I use this patch, but had to make one minor edit to get it working
(this was a long time, so I don't quite remember the bug I was trying
to solve),
around line 174:
for (ShardRequest sreq : rb.finished) {
+ if ((sreq.purpose ShardRequest.PURPOSE_GET_TOP_IDS) != 0){
, Shalin Shekhar Mangar wrote:
On Mon, Nov 30, 2009 at 11:08 PM, Mike Anderson mik...@mit.edu
wrote:
I use this patch, but had to make one minor edit to get it working
(this
was a long time, so I don't quite remember the bug I was trying to
solve),
around line 174:
for (ShardRequest sreq
[
https://issues.apache.org/jira/browse/SOLR-1316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12780435#action_12780435
]
Mike Anderson commented on SOLR-1316:
-
Two questions, and apologies
statistics for request handlers should report std dev
-
Key: SOLR-1550
URL: https://issues.apache.org/jira/browse/SOLR-1550
Project: Solr
Issue Type: Improvement
Reporter: Mike
[
https://issues.apache.org/jira/browse/SOLR-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mike Anderson updated SOLR-1550:
Attachment: SOLR-1550.patch
I followed this algorithm:
http://en.wikipedia.org/wiki
[
https://issues.apache.org/jira/browse/SOLR-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mike Anderson updated SOLR-1550:
Attachment: SOLR-1550.patch
tabs to spaces and cleaned up.
statistics for request handlers should
[
https://issues.apache.org/jira/browse/SOLR-1550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mike Anderson updated SOLR-1550:
Attachment: (was: SOLR-1550.patch)
statistics for request handlers should report std dev
[
https://issues.apache.org/jira/browse/SOLR-1143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12772681#action_12772681
]
Mike Anderson commented on SOLR-1143:
-
What's the current state of this use case? I have
I have a string that represents a boolean query (because I passed it
in as a URL parameter), is it possible to instantiate a BooleanQuery
object that represents this query?
I think what I am looking for is something like a BooleanQuery
constructor that takes in a string, but this doesn't
[
https://issues.apache.org/jira/browse/SOLR-788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mike Anderson updated SOLR-788:
---
Attachment: AlternateDistributedMLT.patch
I had trouble getting this to work in my distributed setup
[
https://issues.apache.org/jira/browse/SOLR-788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12750158#action_12750158
]
Mike Anderson edited comment on SOLR-788 at 9/1/09 3:38 PM:
I had
I'm trying to make my way through learning how to modify and write
distributed search components.
A few questions
1. in SearchHandler, when the query is broken down and sent to each
shard, will this request make it's way to the process() method of the
component (because it will look like
I've been trying to dissect the MLT component and understand how it
works. Every-time I think I have the process figured it out I somehow
just end up more confused. Here is my so far best guess at how the
process and flow work:
1. request comes in, and is routed to distributed section of
I was working on MLT component with patch SOLR-788.
On Aug 21, 2009, at 6:49 PM, Yonik Seeley wrote:
On Fri, Aug 21, 2009 at 6:35 PM, Mike Andersonmik...@mit.edu wrote:
I've been trying to dissect the MLT component and understand how it
works.
Every-time I think I have the process figured
[
https://issues.apache.org/jira/browse/SOLR-788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12745079#action_12745079
]
Mike Anderson commented on SOLR-788:
Yep, I got that part figured out finally
[
https://issues.apache.org/jira/browse/SOLR-788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12745079#action_12745079
]
Mike Anderson edited comment on SOLR-788 at 8/19/09 9:00 AM:
-
Yep
[
https://issues.apache.org/jira/browse/SOLR-788?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12744233#action_12744233
]
Mike Anderson commented on SOLR-788:
What release of SOLR should one apply this patch
19 matches
Mail list logo