[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lucene-dev
Subject:    [jira] Assigned: (LUCENE-1178) Hits does not use MultiSearcher's
From:       "Otis Gospodnetic (JIRA)" <jira () apache ! org>
Date:       2008-05-29 5:08:44
Message-ID: 1669203855.1212037724982.JavaMail.jira () brutus
[Download RAW message or body]


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

Otis Gospodnetic reassigned LUCENE-1178:
----------------------------------------

    Assignee: Otis Gospodnetic

> Hits does not use MultiSearcher's createWeight
> ----------------------------------------------
> 
> Key: LUCENE-1178
> URL: https://issues.apache.org/jira/browse/LUCENE-1178
> Project: Lucene - Java
> Issue Type: Bug
> Components: Search
> Affects Versions: 2.3
> Reporter: Israel Tsadok
> Assignee: Otis Gospodnetic
> Attachments: hits.diff
> 
> 
> I am developing a distributed index, using MultiSearcher and RemoteSearcher. When \
> investigating some performance issues, I noticed that there is a lot of \
> back-and-forth traffic between the servers during the weight calculation. Although \
> MultiSearcher has a method called createWeight that minimizes the calls to the \
> sub-searchers, this method never actually gets called when I call search(query). \
> From what I can tell, this is fixable by changing in Hits.java the line: weight = \
> q.weight(s); to:
> weight = s.createWeight(q);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic