Re: IndexUpdateListener

2006-05-27 Thread karl wettin
On Sun, 2006-05-14 at 22:32 -0400, Erik Hatcher wrote: > > On May 14, 2006, at 1:48 PM, karl wettin wrote: > >> An app using Lucene still needs to coordinate all the activity > >> surrounding IndexReaders and IndexWriters, including explicit > >> closure, so the app will know anyway when the ind

Fwd: Lucene 2.0.0 release available

2006-05-27 Thread Daniel Naber
-- Forwarded Message -- Subject: Lucene 2.0.0 release available Date: Samstag 27 Mai 2006 05:57 From: Doug Cutting <[EMAIL PROTECTED]> To: java-dev@lucene.apache.org Release 2.0.0 of Lucene is now available from: http://www.apache.org/dyn/closer.cgi/lucene/java/ This is mostl

Re: BufferedIndexInput.readByte performance

2006-05-27 Thread Michael Chan
A few things might help: - use getSpans() on the scorer of the query, iterate the resulting Spans and count the number of different doc values. This saves the scoring and the sorting on score value. Thanks for your advice. I was wondering, is each span given by getSpans() a unique match acco

Re: BufferedIndexInput.readByte performance; Spans not unique

2006-05-27 Thread Paul Elschot
On Saturday 27 May 2006 13:39, Michael Chan wrote: > > A few things might help: > > - use getSpans() on the scorer of the query, iterate the resulting Spans > > and count the number of different doc values. > > This saves the scoring and the sorting on score value. > > Thanks for your advice.

Re: Query Contains All The Symbols

2006-05-27 Thread Otis Gospodnetic
Email java-user, not java-dev. If those characters are in the index and your query doesn't get them, maybe they are getting stripped from your query. Print the query. Try creating the query programmatically (not via QueryParser). Otis - Original Message From: Sajid Khan <[EMAIL PROTEC

Searcher.search():Hits

2006-05-27 Thread karl wettin
Is there a one method all searches are routed though that I can interface with a decorator or so to catch all Hits created? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Searcher.search():Hits

2006-05-27 Thread Yonik Seeley
On 5/27/06, karl wettin <[EMAIL PROTECTED]> wrote: Is there a one method all searches are routed though that I can interface with a decorator or so to catch all Hits created? Search results, or only actual Hits objects? For Hits, perhaps the 4 methods on Searcher that return Hits. But IMO, cal

Re: Searcher.search():Hits

2006-05-27 Thread karl wettin
On Sat, 2006-05-27 at 21:21 -0400, Yonik Seeley wrote: > On 5/27/06, karl wettin <[EMAIL PROTECTED]> wrote: > > Is there a one method all searches are routed though that I can > > interface with a decorator or so to catch all Hits created? > > Search results, or only actual Hits objects? > For Hit

Re: Searcher.search():Hits

2006-05-27 Thread Yonik Seeley
On 5/27/06, karl wettin <[EMAIL PROTECTED]> wrote: This time I will use it to transparently connect any searcher to my statistical analysis of queries and results. Ah, I read too quickly and saw "catch" as "cache" in your original email. Anyway, to your original question, no, there isn't a sin