lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Terry Steichen" <>
Subject Re: Lucene Turbine Service
Date Tue, 04 Mar 2003 16:46:50 GMT

Not exactly sure of your question.  But, if the path is known at the time of
indexing, you just insert it in the Document that is created as part of the
indexing.  If you don't know the path till later, you might insert a partial
path at index time and add the exact location when you use it.  For example,
in my own system, I use a structure called "master_db", which has a standard
structure underneath it.  However, this whole database might be located
anywhere for any given deployment.  So, when I index, I define my document's
location within this "master_db" structure as the "path" field.  Then when I
retrieve it, I simply doc.get("path") and tack it on to the actual location.

As I said, I'm not sure this is exactly what you're looking for, but HTH



----- Original Message -----
From: "Samuel Alfonso Velázquez Díaz" <>
To: "Lucene Users List" <>
Sent: Tuesday, March 04, 2003 11:34 AM
Subject: RE: Lucene Turbine Service

> Hi I'm a newbe to lucene, I have troubles creating the index to be usable
by my web application.
> The problem is that with the guide lines of the documentation, I created a
index with URLs relative to my local file system
> doc.get("url");   // Returns paths like
> How can I create an index and specify that the ROOT of my documents points
> Please help, I've been searching the docs and mailing list, but I've been
without  luck!!
> Regards!
> Samuel Alfonso Velázquez Díaz
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, and more

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message