Re: Monitoring low level IO

2010-06-03 Thread Otis Gospodnetic
Other than iostat, vmstat and such? Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ - Original Message > From: Jason Rutherglen > To: java-user@lucene.apache.org > Sent: Thu, June 3, 2010 2:13:17 PM > Subject: Mo

Re: numDeletedDocs()

2010-06-03 Thread Otis Gospodnetic
Btw. folks, http://search-lucene.com/ has a really handy source code search with auto-completion for Lucene, Solr, etc. For example, I typed in: numDel - and immediately found those methods. Use it. :) Otis Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search

RE: recommendation for deprecated StandardTokenizer.next() method?

2010-06-03 Thread Itamar Syn-Hershko
That would be next(Token) I believe. The reason it was deprecated afaik was to force a reuse of the Token object, to gain more performance. Itamar. -Original Message- From: allasso [mailto:allassopra...@gmail.com] Sent: Thursday, June 03, 2010 10:52 PM To: java-user@lucene.apache.org S

Re: recommendation for deprecated StandardTokenizer.next() method?

2010-06-03 Thread allasso
Thank you, friend, that's the ticket. this page was very helpful too... http://lucene.apache.org/java/2_9_0/api/all/org/apache/lucene/analysis/package-summary.html Allasso -- View this message in context: http://lucene.472066.n3.nabble.com/recommendation-for-deprecated-StandardTokenizer-next

Re: recommendation for deprecated StandardTokenizer.next() method?

2010-06-03 Thread Adriano Crestani
Hi, It's because a new TokenStream API has been introduced after version 2.9, so you should change your code to use the new API too. Please, take a look at TokenStream javadoc, it has a short description about how the new API works: http://lucene.apache.org/java/2_9_0/api/all/org/apache/lucene/an

RE: numDeletedDocs()

2010-06-03 Thread Woolf, Ross
Oh, my mistake, thanks. I clicked on a link and I thought it took me to the indexWriter in javadocs. Once I retraced my steps it took me to the indexReader. This solves my problem :). -Original Message- From: Michael McCandless [mailto:luc...@mikemccandless.com] Sent: Thursday, June

Re: numDeletedDocs()

2010-06-03 Thread Michael McCandless
Hmm... I don't think IndexWriter has ever had a numDeletedDocs() (w/ no params)? (IndexReader does). Mike On Thu, Jun 3, 2010 at 3:50 PM, Woolf, Ross wrote: > There seems to be a mismatch between the IndexWriter().numDeletedDocs() > method as stated in the javadocs supplied in the 2.9.2 downlo

recommendation for deprecated StandardTokenizer.next() method?

2010-06-03 Thread allasso
Hello, Does anyone have a recommendation for implementing the function previously done by the deprecated StandardTokenizer.next() method? and/or, can anyone point me to where I might find the reason it was deprecated? Thanks, Allasso -- View this message in context: http://lucene.472066.n3.na

numDeletedDocs()

2010-06-03 Thread Woolf, Ross
There seems to be a mismatch between the IndexWriter().numDeletedDocs() method as stated in the javadocs supplied in the 2.9.2 download and what is actual. JavaDocs for 2.9.2 as came with the 2.9.2 download numDeletedDocs public int numDeletedDocs()Returns the number of deleted documents. (No

Monitoring low level IO

2010-06-03 Thread Jason Rutherglen
This is more of a unix related question than Lucene specific however because Lucene is being used, I'm asking here as perhaps other people have run into a similar issue. On an Amazon EC2 merge, read, and write operations are possibly blocking due to underlying IO. Is there a tool that you have use

Re: is there any resources that explain detailed implementation of lucene?

2010-06-03 Thread Otis Gospodnetic
Li Li: Then best to go to the source. Here's one version with syntax highlighting and line numbers, should you have questions about specific parts of that class: http://search-lucene.com/c/Lucene:/src/java/org/apache/lucene/search/PhraseQuery.java Otis Sematext :: http://sematext.com/ ::

Re: StandardAnalyzer specifications

2010-06-03 Thread allasso
On 6/3/10, Allasso Travesser wrote: > On 6/3/10, Allasso Travesser wrote: >> On 6/3/10, iorixxx [via Lucene] >> wrote: >>> >>> >>> I am sorry if this is posted somewhere else, but I think I sent it to the wrong list and I am trying again. Is there anywhere I can find sp

Re: StandardAnalyzer specifications

2010-06-03 Thread allasso
On 6/3/10, Allasso Travesser wrote: > On 6/3/10, iorixxx [via Lucene] > wrote: >> >> >> >>> I am sorry if this is posted somewhere else, but I think I >>> sent it to >>> the wrong list and I am trying again. >>> >>> Is there anywhere I can find specifications for >>> StandardAnalyzer? >>> >>> I

Re: StandardAnalyzer specifications

2010-06-03 Thread allasso
On 6/3/10, iorixxx [via Lucene] wrote: > > > >> I am sorry if this is posted somewhere else, but I think I >> sent it to >> the wrong list and I am trying again. >> >> Is there anywhere I can find specifications for >> StandardAnalyzer? >> >> I am looking for specs that tell just how StandardAnal

Re: StandardAnalyzer specifications

2010-06-03 Thread Ahmet Arslan
> I am sorry if this is posted somewhere else, but I think I > sent it to > the wrong list and I am trying again. > > Is there anywhere I can find specifications for > StandardAnalyzer? > > I am looking for specs that tell just how StandardAnalyzer > tokenizes > search terms, and how it deals wit

Re: What's DisjunctionMaxQuery ?

2010-06-03 Thread Li Li
Thank you. But I want some more detailed information that how it's implmented such as what's the meaning of parameter tieBreakerMultiplier 2010/6/1 Itamar Syn-Hershko : > See slide 18 in > http://www.cnlp.org/presentations/slides/advancedluceneeu.pdf, and > http://lucene.apache.org/java/2_0_0/api/