lucene-java-user mailing list archives

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

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
anyway.

Regards,

Terry

----- Original Message -----
From: "Samuel Alfonso Velázquez Díaz" <samuelvd@yahoo.com>
To: "Lucene Users List" <lucene-user@jakarta.apache.org>
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
C:/CopiaSite20030228/Legislacion/reglamentos/index.htm
> How can I create an index and specify that the ROOT of my documents points
to mydomain.com??
>
> Please help, I've been searching the docs and mailing list, but I've been
without  luck!!
>
> Regards!
>
>
> Samuel Alfonso Velázquez Díaz
> http://www.geocities.com/samuelvd
> samuelvd@yahoo.com
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Tax Center - forms, calculators, tips, and more


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


Mime
View raw message