Hello Lucene-User,
Is any one try to do highlighting with HTML pages?
I am trying to do this using demo example by Keld H. Hansen article "Unweaving
a Tangled Web HTMLParser and Lucene" but I am getting "null" value for text at
line #47 Any Idea?
1 package org.apache.lucene.search
: HTML pages highlighter
How did you index "contents"? If you did not use a stored field type,
then that is the issue.
Erik
On Mar 30, 2005, at 12:31 PM, Yagnesh Shah wrote:
> Hello Lucene-User,
> Is any one try to do highlighting with HTML pages?
>
> I am t
highlighter
How did you index "contents"? If you did not use a stored field type,
then that is the issue.
Erik
On Mar 30, 2005, at 12:31 PM, Yagnesh Shah wrote:
> Hello Lucene-User,
> Is any one try to do highlighting with HTML pages?
>
> I am trying to do t
.Store.YES,
Field.Index.NO));
-Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 30, 2005 4:35 PM
To: java-user@lucene.apache.org
Subject: Re: HTML pages highlighter
On Mar 30, 2005, at 4:17 PM, Yagnesh Shah wrote:
> Hi! Eric,
> One more thing
c.add(new Field("title", parser.getTitle(), Field.Store.YES,
Field.Index.TOKENIZED));
}
-Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 30, 2005 7:38 PM
To: java-user@lucene.apache.org
Subject: Re: HTML pages highlighter
On Mar 30, 2005, at 4:46
summary
Summary:
Entities.encode(doc.get("summary"))
}
}
-Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 31, 2005 8:04 PM
To: java-user@lucene.apache.org
Subject: Re: HTML pages highlighter
On Mar 31, 2005, at 6:
: java-user@lucene.apache.org
Subject: Re: HTML pages highlighter
On Apr 4, 2005, at 5:35 PM, Yagnesh Shah wrote:
> I end up purchasing your book "Lucene in Action". I have downloaded
> your code samples. I am able to retrieve "result" only some time.
> Below
.getMessage());
196 }
197
198 indexCache.put(name, index); // add to cache
199 return index.reader;
200 }
201
-Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 06, 2005 6:45 PM
To: java-user@lucene.apache.org
Subj
Hi folks,
I am playing with HighlighIt.java of "Luceneinaction" code. I have
modified the text string so that "45 BC" will now "45BC" and another "45 BC" to
"Z3950". I have also modified this line and my output file do not creates and
highlighting.
Works:
TermQuery query = new TermQ
Thanks! for pointing this out.
-Original Message-
From: Erik Hatcher [mailto:[EMAIL PROTECTED]
Sent: Friday, May 06, 2005 8:15 PM
To: java-user@lucene.apache.org
Subject: Re: alpha numeric searching or highlighting problem.
On May 6, 2005, at 5:43 PM, Yagnesh Shah wrote:
> Hi fo
Hi! Seema,
Change your document.java so that content field is added for example:
doc.add(Field.Text("contents", "some dummy text"));
-Original Message-
From: Seema Jain [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 11, 2005 6:20 AM
To: java-user@lucene.apache.org
Subject: Getting subpar
11 matches
Mail list logo