Re: org.apache.lucene.search.highlight.Highlighter

2004-06-15 Thread Erik Hatcher
On Jun 15, 2004, at 12:48 AM, Karthik N S wrote: Sombody please tell me why the "[pad]" is been displayed between words on searching the indexed file Content : Digital Cameras[pad][Digital Cameras][pad][EZ Dual Cam USB Digital Video/Still Camera][pad... Cam USB Digital How do I correct t

RE: org.apache.lucene.search.highlight.Highlighter

2004-06-14 Thread Karthik N S
: - I am using the Highlighter package from the Sandbox for highlighting the required word from an html ] with regards Karthik -Original Message- From: Karthik N S [mailto:[EMAIL PROTECTED] Sent: Monday, May 24, 2004 2:41 PM To: Lucene Users List S

RE: org.apache.lucene.search.highlight.Highlighter

2004-05-25 Thread markharw00d
>>If the Content is Stored as... >>doc.add(Field.Text("contents", reader)); Thats just it. It's not stored : see the javadocs for Field.text(string,reader): "Constructs a Reader-valued Field that is tokenized and indexed, but is not stored in the index" As opposed to : Field.Text(String name,

RE: org.apache.lucene.search.highlight.Highlighter

2004-05-25 Thread Karthik N S
e some body who is mature more enough to improve this code please do. Peace at last . :) Karthik -Original Message- From: Erik Hatcher [mailto:[EMAIL PROTECTED] Sent: Monday, May 24, 2004 10:40 PM To: Lucene Users List Subject: Re: org.apache.lucene.search.highlight.Highl

RE: org.apache.lucene.search.highlight.Highlighter

2004-05-24 Thread Karthik N S
ay, May 24, 2004 10:40 PM To: Lucene Users List Subject: Re: org.apache.lucene.search.highlight.Highlighter On May 24, 2004, at 5:11 AM, Karthik N S wrote: > I was broswing thru CVS and found the SRC for "IndexWriter2.java > written > by Ivaylo Zlatev on feb 2002, Where do you see

Re: org.apache.lucene.search.highlight.Highlighter

2004-05-24 Thread Erik Hatcher
On May 24, 2004, at 5:11 AM, Karthik N S wrote: I was broswing thru CVS and found the SRC for "IndexWriter2.java written by Ivaylo Zlatev on feb 2002, Where do you see this? It is not in the current CVS that I can tell. The Tecnique of using RAMDirectory, my Query has really become faster acc

RE: org.apache.lucene.search.highlight.Highlighter

2004-05-24 Thread Otis Gospodnetic
That version of IndexWriter was never included in Lucene. Use various IndexWriter parameters (instance variables) to tune indexing. One of my articles desribes how to use them, if Javadocs are too terse. Otis --- Karthik N S <[EMAIL PROTECTED]> wrote: > Hey > Lucene-Developers > > I was broswin

RE: org.apache.lucene.search.highlight.Highlighter

2004-05-24 Thread Karthik N S
Hey Lucene-Developers I was broswing thru CVS and found the SRC for "IndexWriter2.java written by Ivaylo Zlatev on feb 2002, My concern is, Does this piece of code really work , if so state an example [ present Lucene-final 1.3 version ] or Is it discarded from the [ present Luc

Re: org.apache.lucene.search.highlight.Highlighter

2004-05-21 Thread markharw00d
Hi Claude, that example code you provided is out of date. For all concerned - the highlighter code was refactored about a month ago and then moved into the Sandbox. Want the latest version? - get the latest code from the sandbox CVS. Want the latest docs? - Run javadoc on the above. There is a

Re: org.apache.lucene.search.highlight.Highlighter

2004-05-21 Thread Claude Devarenne
Arrgh the attachment didn't make it here it goes, sorry: //perform a standard lucene query searcher = new IndexSearcher(ramDir); Analyzer analyzer=new StandardAnalyzer(); Query query = QueryParser.parse("Kenne*", FIELD_NAME, analyzer); query=query.rewrite(rea

Re: org.apache.lucene.search.highlight.Highlighter

2004-05-21 Thread Claude Devarenne
Hi, Here is the documentation Mark Harwood included in the original package. I followed his directorions and it worked for me. Let me know if this doesn't do it for you. Claude On May 21, 2004, at 4:29 AM, Karthik N S wrote: Hi Please can some body give me a simple Example of org.apache

RE: org.apache.lucene.search.highlight.Highlighter

2004-05-21 Thread Karthik N S
] Subject: Re: org.apache.lucene.search.highlight.Highlighter >>Was Investigating,found some Compile time error.. I see the code you have is taken from the example in the javadocs. Unfortunately that example wasn't complete because the class didnt include the method defined in the Formatte

RE: org.apache.lucene.search.highlight.Highlighter

2004-05-19 Thread Bruce Ritchie
> Thanks for "highlighting" the problem with the Javadocs... Groan. :) Regards, Bruce Ritchie smime.p7s Description: S/MIME cryptographic signature

Re: org.apache.lucene.search.highlight.Highlighter

2004-05-19 Thread markharw00d
>>Was Investigating,found some Compile time error.. I see the code you have is taken from the example in the javadocs. Unfortunately that example wasn't complete because the class didnt include the method defined in the Formatter interface. I have updated the Javadocs to correct this oversight.