Re: IndexSearch very slow after reopening the index

2010-10-15 Thread Ian Lea
if I am using the > RAMDirectory or NFIOSDirectory. > > Thanks for further advices. > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/IndexSearch-very-slow-after-reopening-the-index-tp1699711p1701013.html > Sent from the Lucene - Java Users mailing l

Re: IndexSearch very slow after reopening the index

2010-10-14 Thread subwayne
are taken while the Lucene index is in the RAM (RAMDirectory). It makes no difference in time if I am using the RAMDirectory or NFIOSDirectory. Thanks for further advices. -- View this message in context: http://lucene.472066.n3.nabble.com/IndexSearch-very-slow-after-reopening-the-index-tp1699711p17

Re: IndexSearch very slow after reopening the index

2010-10-14 Thread Ian Lea
;> happens when you use a standard disk based directory rather than MMap? >>  How many docs are you adding?  How big is the index?  What version of >> lucene are you using? >> >> Your NumericRangeQuery doesn't look much like a range but I doubt >> that's th

Re: IndexSearch very slow after reopening the index

2010-10-14 Thread Pradeep Singh
of > > lucene are you using? > > > > Your NumericRangeQuery doesn't look much like a range but I doubt > > that's the problem. > > > > Finally, you could run a profiler to see where the time is being spent. > > > > > &

Re: IndexSearch very slow after reopening the index

2010-10-14 Thread subwayne
ersion of > lucene are you using? > > Your NumericRangeQuery doesn't look much like a range but I doubt > that's the problem. > > Finally, you could run a profiler to see where the time is being spent. > > > -- > Ian. > -- View this message in contex

Re: IndexSearch very slow after reopening the index

2010-10-14 Thread Ian Lea
ry = new TermQuery(luceneTerm); > booleanQuery.add(termQuery, BooleanClause.Occur.MUST); > NumericRangeQuery lTerm = > NumericRangeQuery.newIntRange(CLUSTER_ID, clusterId, clusterId, true, true); > booleanQuery.add(lTerm, BooleanClause.Occur.MUST); > TopD

IndexSearch very slow after reopening the index

2010-10-14 Thread subwayne
add(lTerm, BooleanClause.Occur.MUST); TopDocs resultSet = queryIndex(searcher, booleanQuery); Thank you! -- View this message in context: http://lucene.472066.n3.nabble.com/IndexSearch-very-slow-after-reopening-the-index-tp1699711p1699711.html Sent from the