Re: Can I still use SearcherManager in this situation?

2012-11-09 Thread Trejkaz
On Thu, Nov 8, 2012 at 8:29 AM, Trejkaz wrote: > It's not only protected... but the class is final as well (the method > might as well be private so that it doesn't give a false sense of hope > that it can be overridden.) > > I might have to clone the whole class just to make the method public. W

Re: questions on PerFieldSimilarityWrapper

2012-11-09 Thread James Clarke
I'm still confused by the semantics of PerFieldSimilarityWrapper. How can the queryNorm be independent of the Similarity? (at least in our case it isn't) >From my understanding the current PerFieldSimilarityWrapper implementation limits us to using Similarities that have the same queryNorm impleme

Re: Lucene 3.6.0 high CPU usage

2012-11-09 Thread kiwi clive
Hi Ian, Yes I/O ->CPU, but read on... The throughput is about the same with similar i/o and 20% higher CPU. We have plenty of CPU and I would rather be cpu bound, thean i/o bound. However, we have increased the number of indexing threads in our application. On Lucene 2.3.2, this gave no perfor

Re: Ex.

2012-11-09 Thread Fabio Ebner
i see. i will try it.. tks 2012/11/9 David Pilato > Hi Fabio, > > > Did you consider using Hibernate Search? It's based on Lucene. > It may help you. > > David. > > Le 9 novembre 2012 à 14:15, Fabio Ebner > a écrit > : > > Hi.. can someone help me? i need to integrate LUCENE + SPRING + HIBERNA

Re: Ex.

2012-11-09 Thread David Pilato
Hi Fabio, Did you consider using Hibernate Search? It's based on Lucene. It may help you. David. Le 9 novembre 2012 à 14:15, Fabio Ebner a écrit : > Hi.. can someone help me? i need to integrate LUCENE + SPRING + HIBERNATE > and don't find any articlhe about this.. > > tks -- David Pilato htt

Re: AlreadyClosedException when doing search

2012-11-09 Thread Bin Lan
Hi Ian, Thank you, figure it out last night a piece legacy code closes the TermDoc in every loop. Somehow the old version was fine with it. Regards -- Bin Lan Software Developer Perimeter E-Security O - (203)541-3412 Follow Us on Twitter: www.twitter.com/PerimeterNews Read Our Blog: security.p

Ex.

2012-11-09 Thread Fabio Ebner
Hi.. can someone help me? i need to integrate LUCENE + SPRING + HIBERNATE and don't find any articlhe about this.. tks

Re: questions on PerFieldSimilarityWrapper

2012-11-09 Thread Ian Lea
Feels a bit of a hack, but you might be able to make it work by storing the field name when MyPerFieldxxx.get(name) is called and using that in MyPerFieldxxx.queryNorm() and coord() calls to do the right thing, either inline or via the relevant Similarity subclass, identified by the name. -- Ian.

Re: AlreadyClosedException when doing search

2012-11-09 Thread Ian Lea
By far the most likely cause is that something somewhere in your code is closing the searcher or the reader. -- Ian. On Thu, Nov 8, 2012 at 2:39 PM, Bin Lan wrote: > We recently upgrade our lucene library from 1.9.1 to 3.6.1 and we run into > multiple AlreadyClosedException when doing search.

Re: Lucene 3.6.0 high CPU usage

2012-11-09 Thread Ian Lea
Are you getting the same, improved or worse performance/throughput? Has the bottleneck switched from IO to CPU? -- Ian. On Thu, Nov 8, 2012 at 12:40 PM, kiwi clive wrote: > Having played with merge parameters and various index parameters, it seems > possible to change the I/O usage at the cos

Re: Indexing and searching across versioned document collections

2012-11-09 Thread Johannes.Lichtenberger
On 11/09/2012 09:41 AM, jake dsouza wrote: Hello, Has any one worked on making Lucene index and search versioned document collections i.e any corpus with multiple versions of documents similar to wikipedia or source code. I am working on a project to index and search versioned collections while