Re: Highlighter for 1.4.3?

2005-10-30 Thread Erik Hatcher
On 31 Oct 2005, at 01:07, J Jensen wrote: I got the LuceneInAction.zip, extracted the highlighter-dev.jar and added it to the my classpath. I tried to Test the jar with this code from the LIA... String string = "The quick brown fox jumps over the lazy dog"; TermQuery termQuery = new TermQ

Highlighter for 1.4.3?

2005-10-30 Thread J Jensen
Erik, I got the LuceneInAction.zip, extracted the highlighter-dev.jar and added it to the my classpath. I tried to Test the jar with this code from the LIA... String string = "The quick brown fox jumps over the lazy dog"; TermQuery termQuery = new TermQuery(new Term("field", "fox")); QueryScor

Re: Usage RAMDirectory

2005-10-30 Thread Tobias Lütticke
Hi Rob, > How important is it that the search index be absolutely up to date? Very important, I'am afraid. There are two web apps (out of historical reasons - they are located in the same EAR) with different users. Say a user creates or updates records. Then the changes have to be available im

Re: Multiple Analyzers

2005-10-30 Thread Erik Hatcher
On 30 Oct 2005, at 11:03, [EMAIL PROTECTED] wrote: I am implementing a search that allows the user to toggle the Soundex and Stem functionality on and off. When the Soundex or Sten functions are not on, the search will use the StandardAnalyzer as default. I implemented the Soundex (Sound

Re: Sentence boundary storage

2005-10-30 Thread Grant Ingersoll
Actually, I was thinking of writing something along the lines of Span*BoundaryQuery where it would be more explicit than what was described below. You could say SpanSentence and say you want the terms to occur w/in two sentences. Do you guys think it is worthwhile to codify what is discussed

Re: Highlighter for Lucene 1.4.3?

2005-10-30 Thread Erik Hatcher
What's the issue with using the one from the LIA source code?It is compatible with Lucene 1.4.3 and all the code successfully compiles and all tests pass from there, right? Erik On 30 Oct 2005, at 12:28, J Jensen wrote: Can anyone provide me with a Highlighter.jar file that can be

Lucene and database + location

2005-10-30 Thread Assad Jarrahian
Hi All, My apologies if this question was asked before. I looked through the archives and could not find an answer to what I was looking for. background: lets say I store documents of a user. Each document has associated with (meta data) it a DocID, creatorName, a class (private or public), and a

Highlighter for Lucene 1.4.3?

2005-10-30 Thread J Jensen
Can anyone provide me with a Highlighter.jar file that can be used with Lucene 1.4.3? I can not incorporate the Highlighter source (from the sandbox) or the jar (from LuceneInAction), to save my life. Thanks, Jeff - To uns

Re: Sentence boundary storage

2005-10-30 Thread Doug Cutting
Chris Hostetter wrote: : One thing that I know has bogged me is when matching a phrase where I : would expect mathematical formula (which is "just a subphrase"). I : would have liked the phrase-query to extend as far as it wishes but not : passed a given token... would this be possible ? : Presum

Re: trying to boost a phrase higher than its individual words

2005-10-30 Thread Doug Cutting
Erik Hatcher wrote: On 28 Oct 2005, at 22:31, Andy Lee wrote: You know what, I was confusing Nutch and Lucene classes (as I've done before), in this case the IndexSearcher classes. Sorry. The Nutch names are bad. I'm continually amazed at Doug's ability to build these using only emacs - h

Multiple Analyzers

2005-10-30 Thread Daniel . Clark
I am implementing a search that allows the user to toggle the Soundex and Stem functionality on and off. When the Soundex or Sten functions are not on, the search will use the StandardAnalyzer as default. I implemented the Soundex (SoundexAnalyzer from book Lucene In Action) and Stem (SnowballAn

Re: appendable filed problem

2005-10-30 Thread Riccardo Daviddi
Ok, thank you for the clarification. Cheers, Riccardo On 10/29/05, Chris Hostetter <[EMAIL PROTECTED]> wrote: > > > : I read that field are appendable (pag 33 of Lucene in Action), so it's > easy > : just add each extracted text to the same index field "section". > : What it happens is not the e