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 othman <ot...@gmail.com> on 2007/09/27 23:51:23 UTC

store index on web server directory

Hi all,
I'm developing a search tool for a  web site using lucene. 
One issue i need you to clarify is where we should store the generated
lucene indexes ?
 lucene provides a file system storage method FSDirectory.so we need to
specify a path like (/usr/lucene on linux) or (c:/lucene on windows).
I’m wondering how we can store the indexes in remote server directory ? 
should we specify a url path for index directory ? are URLs valid paths to
create File objects directories ? .

what you think about best way to store indexes to be searched later from a
web page on a given server ?

thanks.
-- 
View this message in context: http://www.nabble.com/store-index-on-web-server-directory-tf4531280.html#a12931010
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


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


RE: store index on web server directory

Posted by Fa...@emc.com.
Can you map the remote file system in window or mount in Linux? Lucene rely on the OS level file system access.
Has anyone try to store the index file in a NAS/SAN? How is the performance?

Regards,
Li


-----Original Message-----
From: othman [mailto:othmanelmoulat@gmail.com] 
Sent: Thursday, September 27, 2007 2:51 PM
To: java-user@lucene.apache.org
Subject: store index on web server directory


Hi all,
I'm developing a search tool for a  web site using lucene. 
One issue i need you to clarify is where we should store the generated
lucene indexes ?
 lucene provides a file system storage method FSDirectory.so we need to
specify a path like (/usr/lucene on linux) or (c:/lucene on windows).
I’m wondering how we can store the indexes in remote server directory ? 
should we specify a url path for index directory ? are URLs valid paths to
create File objects directories ? .

what you think about best way to store indexes to be searched later from a
web page on a given server ?

thanks.
-- 
View this message in context: http://www.nabble.com/store-index-on-web-server-directory-tf4531280.html#a12931010
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


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



Re: store index on web server directory

Posted by Gaurav Tuli <tu...@gmail.com>.
Hi,

I think index folder can be created  anywhere in private resource in a given
web app.

When we want to interact with a remote index there should be an interface
and its

implementation to interact with this remote index.

If we want to interact wit  linux through window we use tools like
putty.Programatically

we should be able to use some package.We can also make use of JNI may be a
solution

lies over there.







On 9/27/07, othman <ot...@gmail.com> wrote:
>
>
> Hi all,
> I'm developing a search tool for a  web site using lucene.
> One issue i need you to clarify is where we should store the generated
> lucene indexes ?
> lucene provides a file system storage method FSDirectory.so we need to
> specify a path like (/usr/lucene on linux) or (c:/lucene on windows).
> I'm wondering how we can store the indexes in remote server directory ?
> should we specify a url path for index directory ? are URLs valid paths to
> create File objects directories ? .
>
> what you think about best way to store indexes to be searched later from a
> web page on a given server ?
>
> thanks.
> --
> View this message in context:
> http://www.nabble.com/store-index-on-web-server-directory-tf4531280.html#a12931010
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>