Re: lucene index reader performance

2016-06-28 Thread Michael McCandless
Are you maybe trying to load too many documents for each search request? The IR.document API is designed to be used to load just a few hits, like a page worth or ~ 10 documents, per search. Mike McCandless http://blog.mikemccandless.com On Tue, Jun 28, 2016 at 7:05 AM, Tarun Kumar wrote: > I

Re: Help Relevance Feedback (Rocchio) with lucene

2016-06-28 Thread Ahmet Arslan
Hi Andres, While there can be other ways, in general term vectors are used to extract "important terms" from top-k documents returned by the initial query. Please see getTopTerms() method in http://www.cortecostituzionale.it/documenti/news/advancedluceneeu_69.pdf Ahmet On Tuesday, June 28, 20

Span boosting and needsScores

2016-06-28 Thread Gann Bierner
Hi all, I'm trying to get a handle on how boosting is accomplished with span queries. In queries when sub weights are created it is done with explicitly setting needsScores to false. For example, here is the implementation in SpanOrQuery: @Override public SpanWeight createWeight(IndexSearch

Help Relevance Feedback (Rocchio) with lucene

2016-06-28 Thread Andres Fernando Wilches Riano
Hello I want to implement rocchio with lucene. Somebody has idea how to do it? Thanks. -- Atentamente, *Andrés Fernando Wilches Riaño* Ingeniero de Sistemas y Computación Estudiante de Maestría en Ingeniería de Sistemas y Computación Asistente Docente Universidad Nacional de Colombia

Re: Synchronous Lucene index update tests occasionally fail

2016-06-28 Thread Daniq
Ok, I'll try it a bit later. Thank you. Michael McCandless-2 wrote > No, casing issues would not be random; it was just what I noticed in your > test case. > > Can you fix the casing issue in your test case and confirm it's still > failing and if so, simplify the test case further, e.g. remove t

lucene index reader performance

2016-06-28 Thread Tarun Kumar
I am running lucene 4.6.1. I am trying to get documents corresponding to docIds. All threads get stuck (don't get stuck exactly but spend a LOT of time in) at: java.lang.Thread.State: RUNNABLE at sun.nio.ch.FileDispatcherImpl.pread0(Native Method) at sun.nio.ch.FileDispatcherImpl.p

Re: Synchronous Lucene index update tests occasionally fail

2016-06-28 Thread Michael McCandless
No, casing issues would not be random; it was just what I noticed in your test case. Can you fix the casing issue in your test case and confirm it's still failing and if so, simplify the test case further, e.g. remove the context manager and create a Lucene Document directly, and then see if it's

Re: Synchronous Lucene index update tests occasionally fail

2016-06-28 Thread Daniq
Can casing issue appear randomly? Because tests not fail constantly, they are blinking. Daniel. -- View this message in context: http://lucene.472066.n3.nabble.com/Synchronous-Lucene-index-update-tests-occasionally-fail-tp4283970p4284657.html Sent from the Lucene - Java Users mailing list arch