Finding number of occurrences of a word in a document.

2002-06-04 Thread AJIT RAJWADE
Sir, I am currently facing a difficulty...how do I find the number of occurrences of a particular word in a certain document. Currently, I get some value called as score which is difficult to interpret. Thanks, Ajit

Re: luceneplan.html

2002-06-04 Thread Otis Gospodnetic
I believe, and others may correct me, that the only part of that document that has been places in the CVS repository is the Crawler part. You can find that in Lucene Sandbox repository. I'm afraid all other parts have not been discussed in a long time (several months) and have not made it into th

cvs commit: jakarta-lucene/docs index.html

2002-06-04 Thread otis
otis2002/06/04 08:16:28 Modified:docs index.html Log: - Rearranged the Resources section a bit and added a link to Lucene Sandbox page. Revision ChangesPath 1.12 +7 -5 jakarta-lucene/docs/index.html Index: index.html ===

cvs commit: jakarta-lucene/docs index.html

2002-06-04 Thread otis
otis2002/06/04 08:17:35 Modified:docs index.html Log: - Nuked a bunch of trailing blank lines and characters. Revision ChangesPath 1.13 +15 -35jakarta-lucene/docs/index.html Index: index.html ===

cvs commit: jakarta-lucene/xdocs lucenesandbox.xml

2002-06-04 Thread otis
otis2002/06/04 08:20:09 Modified:xdocslucenesandbox.xml Log: - Added a link to Lucene Sanbox CVS repository. Revision ChangesPath 1.2 +4 -1 jakarta-lucene/xdocs/lucenesandbox.xml Index: lucenesandbox.xml =

cvs commit: jakarta-lucene/xdocs luceneplan.xml

2002-06-04 Thread otis
otis2002/06/04 08:29:32 Modified:xdocsluceneplan.xml Log: - Fixed spelling a bit. - Nukes trailing blank spaces. Revision ChangesPath 1.4 +68 -68jakarta-lucene/xdocs/luceneplan.xml Index: luceneplan.xml =

DO NOT REPLY [Bug 9454] - PriorityQueue.clear() does not set last element to null

2002-06-04 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 9015] - e-mail token in StandardTokenizer.jj does not match valid e-mail addresses

2002-06-04 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

Re: Lucene BUG 9454

2002-06-04 Thread Otis Gospodnetic
I just wrote a little test and I think you are correct. I'll look at it a little more and commit the fix if needed. Thanks! Otis --- "M.J. Bomhoff" <[EMAIL PROTECTED]> wrote: > Hello, > > You commented on my bug as follows: > > Are you sure about that? > > This is what the code looks like.

COMMENT REQUESTED: Lucene 1.2 Final Release

2002-06-04 Thread Peter Carlson
Hi, I have not received any feedback on the developer list regarding the stability / status of Lucene 1.2 Final Release. I have posted it up on the release website http://jakarta.apache.org/builds/jakarta-lucene/release/v1.2/ Can a few other people please validate this so we call it good and l

cvs commit: jakarta-lucene/src/java/org/apache/lucene/util PriorityQueue.java

2002-06-04 Thread otis
otis2002/06/04 18:46:39 Modified:src/java/org/apache/lucene/util PriorityQueue.java Log: - Fixed clear() method that wasn't setting the very last heap element to null, as reported at http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9454. PR: 9454 Revision Changes

cvs commit: jakarta-lucene/src/test/org/apache/lucene/util TestPriorityQueue.java

2002-06-04 Thread otis
otis2002/06/04 18:50:54 Modified:src/test/org/apache/lucene/util TestPriorityQueue.java Log: - Added testClear() test. It doesn't really test much, but since I already typed it in I'm leaving it. - Reformatted/reindented the code and nuked trailing spaces. Revision

DO NOT REPLY [Bug 9454] - PriorityQueue.clear() does not set last element to null

2002-06-04 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

cvs commit: jakarta-lucene/src/java/org/apache/lucene/analysis/standard StandardTokenizer.jj

2002-06-04 Thread otis
otis2002/06/04 21:54:47 Modified:src/java/org/apache/lucene/analysis/standard StandardTokenizer.jj Log: - Changed the grammar for EMAIL token in order to match user names and host names with additional valid user name and host name characters, such

DO NOT REPLY [Bug 9015] - e-mail token in StandardTokenizer.jj does not match valid e-mail addresses

2002-06-04 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

Re: COMMENT REQUESTED: Lucene 1.2 Final Release

2002-06-04 Thread Otis Gospodnetic
I downloaded the source .tar.gz version and built it myself using 'ant jar'. The resulting jar file was named lucene-1.3-dev1.jar and it should be lucene-1.2.jar. That should be fixed. The problem is the property value in default.properties file, I believe. Other than that I haven't seen any pro

Re: Bug? QueryParser may not correctly interpret RangeQuery text

2002-06-04 Thread Otis Gospodnetic
Hello, Just curious what the status of this issue is, as the discussion seems to have stopped. --- "Eric D. Friedman" <[EMAIL PROTECTED]> wrote: > Instead of reinventing the wheel for representing dates, how about > using an existing standard? ISO 8601 defines a simple lexical > representation

Re: Bug? QueryParser may not correctly interpret RangeQuery text

2002-06-04 Thread Peter Carlson
I guess from my perspective we are at field:[->] The delimiter is not yet defined, but the options currently discussed are - -> ; : | > The problem with - and : is that they may be part of a date format. The action taken by the QueryParser would depend on the type of field we were using (if th

Re: Finding number of occurrences of a word in a document.

2002-06-04 Thread Peter Carlson
Ajit, This question should be asked to the Lucene user list. I am also posting this email to the user list in case there are any follow-up questions or other people have other suggestions. Lucene does not return the number of occurrences for a word in a Hit, but you can get this information using