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 DanaWhite <ph...@comcast.net> on 2008/08/07 17:53:40 UTC

Searching an Index on Another Machine

Hello,

I have two machines on the same network, but I want to use one machine to
search an index located on the file system of the other machine.

Any ideas on how to achieve this?

Thanks
Dana
-- 
View this message in context: http://www.nabble.com/Searching-an-Index-on-Another-Machine-tp18873665p18873665.html
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: Searching an Index on Another Machine

Posted by "ನಾಗೇಶ್ ಸುಬ್ರಹ್ಮಣ್ಯ (Nagesh S)" <na...@gmail.com>.
I guess the starting point would be to have the IndexSearcher to take
a URI as the path to index (I don't think such a constructor exists)
than the ones currently available. This might also call for some
security policy to be in place to restrict access.

Otherwise, J2EE perhaps ?

Good question !

On 8/7/08, DanaWhite <ph...@comcast.net> wrote:
>
> Hello,
>
> I have two machines on the same network, but I want to use one machine to
> search an index located on the file system of the other machine.
>
> Any ideas on how to achieve this?
>
> Thanks
> Dana
> --
> View this message in context:
> http://www.nabble.com/Searching-an-Index-on-Another-Machine-tp18873665p18873665.html
> 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
>
>

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


RE: Searching an Index on Another Machine

Posted by John Griffin <jg...@thebluezone.net>.
Dana,

RMI. We use it exclusively and we are able to cluster for fail-over. The
clustering complicates things quite a bit so you may not need or want it.

John G.

-----Original Message-----
From: DanaWhite [mailto:philrymek@comcast.net] 
Sent: Thursday, August 07, 2008 9:54 AM
To: java-user@lucene.apache.org
Subject: Searching an Index on Another Machine


Hello,

I have two machines on the same network, but I want to use one machine to
search an index located on the file system of the other machine.

Any ideas on how to achieve this?

Thanks
Dana
-- 
View this message in context:
http://www.nabble.com/Searching-an-Index-on-Another-Machine-tp18873665p18873
665.html
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


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


RE: Searching an Index on Another Machine

Posted by John Griffin <jg...@thebluezone.net>.
Alexander,

RMI. We use it exclusively and we are able to cluster for fail-over. The
clustering complicates things quite a bit so you may not need or want it.

John G.

-----Original Message-----
From: Alexander Aristov [mailto:alexander.aristov@gmail.com] 
Sent: Thursday, August 07, 2008 10:35 AM
To: java-user@lucene.apache.org
Subject: Re: Searching an Index on Another Machine

Hi

Mount the file system of that machine to another one as a network share. But
I don;t think it would be optimal.

Alexander

2008/8/7 DanaWhite <ph...@comcast.net>

>
> Hello,
>
> I have two machines on the same network, but I want to use one machine to
> search an index located on the file system of the other machine.
>
> Any ideas on how to achieve this?
>
> Thanks
> Dana
> --
> View this message in context:
>
http://www.nabble.com/Searching-an-Index-on-Another-Machine-tp18873665p18873
665.html
> 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
>
>


-- 
Best Regards
Alexander Aristov


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


Re: Searching an Index on Another Machine

Posted by Alexander Aristov <al...@gmail.com>.
Hi

Mount the file system of that machine to another one as a network share. But
I don;t think it would be optimal.

Alexander

2008/8/7 DanaWhite <ph...@comcast.net>

>
> Hello,
>
> I have two machines on the same network, but I want to use one machine to
> search an index located on the file system of the other machine.
>
> Any ideas on how to achieve this?
>
> Thanks
> Dana
> --
> View this message in context:
> http://www.nabble.com/Searching-an-Index-on-Another-Machine-tp18873665p18873665.html
> 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
>
>


-- 
Best Regards
Alexander Aristov