You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Jim Lynch <jw...@sgi.com> on 2005/01/10 15:46:22 UTC

Another highlighter question

If the source of the documents in the index is from  web pages and the 
source isn't stored in the index, would highlighting be too slow since 
you'd have to download each web page again to gain access to the source?

Jim.

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Re: Another highlighter question

Posted by Miles Barr <mi...@runtime-collective.com>.
On Mon, 2005-01-10 at 11:01 -0500, Jim Lynch wrote:
> Do you keep it in the index or cached in a separate place like a file or db?

I keep it in a field in the index.

-- 
Miles Barr <mi...@runtime-collective.com>
Runtime Collective Ltd.

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Re: Another highlighter question

Posted by Jim Lynch <jw...@sgi.com>.
Do you keep it in the index or cached in a separate place like a file or db?

Thanks,
Jim.

Miles Barr wrote:

>Hi Jim,
>
>On Mon, 2005-01-10 at 09:46 -0500, Jim Lynch wrote:
>  
>
>>If the source of the documents in the index is from  web pages and the 
>>source isn't stored in the index, would highlighting be too slow since 
>>you'd have to download each web page again to gain access to the source?
>>    
>>
>
>For web pages I keep a cached parsed (HTML removed) copy for
>highlighting purposes. I think downloading each page and removing HTML
>tags each time would take too long.
>
>  
>

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Re: Another highlighter question

Posted by Miles Barr <mi...@runtime-collective.com>.
Hi Jim,

On Mon, 2005-01-10 at 09:46 -0500, Jim Lynch wrote:
> If the source of the documents in the index is from  web pages and the 
> source isn't stored in the index, would highlighting be too slow since 
> you'd have to download each web page again to gain access to the source?

For web pages I keep a cached parsed (HTML removed) copy for
highlighting purposes. I think downloading each page and removing HTML
tags each time would take too long.

-- 
Miles Barr <mi...@runtime-collective.com>
Runtime Collective Ltd.

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org