lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Indexing Remote Documents
Date Thu, 27 Oct 2005 17:55:42 GMT

: probably you'll need http client module (commons-httpclient or something)


More specifically: when dealing with lucene, the concept of a "document"
is very specific: it is an instance of
org.apache.lucene.document.Document.  how you construct one of these
Document objects in your application is up to you.  if you want to index
files on disk, you can write some code to open those files, and construct
a Document for each.  if you want to index some remote URLs, you can write
some code to fetch those URLs and construct a Document for each.


-Hoss


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


Mime
View raw message