RE: Lucene MBean service for JBoss

2003-07-29 Thread Dan Hanley
Hi Andy This looks like a very useful MBean (quite a bit more developed than the one I was working on). One quick query on the quickstart example though, when I run it I get the output twice: -Original Message- From: Andy Scholz [mailto:[EMAIL PROTECTED] Sent: 20 July 2003 23:29 To:

RE: Lucene MBean service for JBoss

2003-07-29 Thread Dan Hanley
Sorry, hit send too soon The output gives: id: jboss.org/index.html, title: jboss home, author: someone-at-jboss, rating: 9.5, dateAdded: Tue Jul 29 10:48:03 BST 2003 summary: JBoss :: Professional Open Source @import url(themes/impact/style/style.css); JBoss 3.0 Bundled Partner Software

Re: Lucene MBean service for JBoss

2003-07-29 Thread Andy Scholz
Hi Dan, I'm not sure whats going on there, I've checked the moveNext it seems OK. It seems that somehow the page got indexed twice, or two hits are being returned for some reason. I cant replicate get this tho so I'd aprreciate any more info you might be able to give me - e.g. if you comment

Re: Safe to write while optimizing?

2003-07-29 Thread Doug Cutting
Wilton, Reece wrote: Three questions: - Is it safe to have two IndexWriters open on the same index? No. It is not safe, and the code makes every attempt to prohibit it. - Is it safe to have two IndexWriters adding a document concurrently? No, but you can have two threads adding documents to a

RE: Safe to write while optimizing?

2003-07-29 Thread Wilton, Reece
Thanks for the reply. Just to clarify: You are saying that I can optimize and add a document at the same time as long as both threads use the same IndexWriter. Is that correct? -Original Message- From: Doug Cutting [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2003 2:27 PM To:

Fwd: Lucene highlighting

2003-07-29 Thread Kelvin Tan
An update of Maik's code for Lucene 1.2. Mark says It shouldnt be too hard to add-in the fuzzy/prefix/wildcard options to my code once the core Lucene API exposes the necessary methods. --- Original Message --- From: Mark Harwood [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Sent: Tue, 29 Jul

Term frequency on result sets

2003-07-29 Thread Peter Becker
Hi all, I am interested in comparing different query result sets in term of term frequency. Questions I'd like to answer are: - what are the N most common terms in a result set? - how often does term X occur in a certain result set? The second one is of course easy to do with a boolean query,