Re: Realtime search best practices

2009-10-12 Thread melix
>> > writer.deleteDocuments()? >> > Thanks Mike for clarifying! >> > >> > -John >> > >> > On Mon, Oct 12, 2009 at 12:11 PM, Michael McCandless < >> > luc...@mikemccandless.com> wrote: >> > >> >> Just to clar

Realtime search best practices

2009-10-12 Thread melix
Hi, I'm going to replace an old reader/writer synchronization mechanism we had implemented with the new near realtime search facilities in Lucene 2.9. However, it's still a bit unclear on how to efficiently do it. Is the following implementation the good way to do achieve it ? The context is con

Re: Span queries and complex scoring

2007-09-17 Thread melix
cQueue that is used by DisjunctionSumScorer. > With this, it is possible to avoid SpanOrQuery by using term payloads > to compute the score value for the Spans of a SpanTermQuery, > but iirc the payloads are not yet in the trunk. > > Regards, > Paul Elschot > > > On Tue

Span queries and complex scoring

2007-09-11 Thread melix
Hi, I'm working on an application which requires a complex scoring (based on semantics analysis). The scoring must be highly configurable, and I've found ways to do that, but I'm facing a discrete but annoying problem. All my queries are, basically, complex span queries. I mean for example a Span