client code for searching?

2006-07-14 Thread WHIRLYCOTT
Does anybody have some client code for performing searches against a  
Solr installation?  I've seen the DocumentManagerClient for adding/ 
dropping/etc docs from the index, but I don't see any client code in  
svn anywhere.


If there's nothing that I can pick up and start using, I'm happy to  
put a standalone Solr client together and contribute that.


Any pointers for either of these?

phil.

--
   Whirlycott
   Philip Jacob
   [EMAIL PROTECTED]
   http://www.whirlycott.com/phil/




Re: client code for searching?

2006-07-14 Thread Mike Klaas

On 7/14/06, WHIRLYCOTT <[EMAIL PROTECTED]> wrote:

Does anybody have some client code for performing searches against a
Solr installation?  I've seen the DocumentManagerClient for adding/
dropping/etc docs from the index, but I don't see any client code in
svn anywhere.


I've written some client code for doing such in python--I assume
you're looking for java?

Did the list reach a consensus on where client for various languages
fit into the grand scheme of things?

-Mike


Re: client code for searching?

2006-07-14 Thread WHIRLYCOTT
Yes, I need java, but I would be eager to read your python code to  
get some design ideas from it.


phil.

On Jul 14, 2006, at 2:32 PM, Mike Klaas wrote:


On 7/14/06, WHIRLYCOTT <[EMAIL PROTECTED]> wrote:

Does anybody have some client code for performing searches against a
Solr installation?  I've seen the DocumentManagerClient for adding/
dropping/etc docs from the index, but I don't see any client code in
svn anywhere.


I've written some client code for doing such in python--I assume
you're looking for java?

Did the list reach a consensus on where client for various languages
fit into the grand scheme of things?

-Mike



--
   Whirlycott
   Philip Jacob
   [EMAIL PROTECTED]
   http://www.whirlycott.com/phil/




Re: client code for searching?

2006-07-14 Thread Michael J. Giarlo

There's some PHP client code on the wiki, too.

http://wiki.apache.org/solr/SolPHP

HTH,

-Mike

WHIRLYCOTT wrote:
Yes, I need java, but I would be eager to read your python code to get 
some design ideas from it.


phil.



Re: client code for searching?

2006-07-14 Thread Mike Baranczak
Check the list archives - there was a thread just a couple of weeks  
ago about all the various existing Solr clients.


-MB


On Jul 14, 2006, at 2:21 PM, WHIRLYCOTT wrote:

Does anybody have some client code for performing searches against  
a Solr installation?  I've seen the DocumentManagerClient for  
adding/dropping/etc docs from the index, but I don't see any client  
code in svn anywhere.


If there's nothing that I can pick up and start using, I'm happy to  
put a standalone Solr client together and contribute that.


Any pointers for either of these?

phil.

--
   Whirlycott
   Philip Jacob
   [EMAIL PROTECTED]
   http://www.whirlycott.com/phil/






RE: client code for searching?

2006-07-14 Thread Brian Lucas
Check the wiki, my friend.
http://wiki.apache.org/solr



-Original Message-
From: WHIRLYCOTT [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 14, 2006 12:35 PM
To: solr-user@lucene.apache.org
Subject: Re: client code for searching?

Yes, I need java, but I would be eager to read your python code to  
get some design ideas from it.

phil.

On Jul 14, 2006, at 2:32 PM, Mike Klaas wrote:

> On 7/14/06, WHIRLYCOTT <[EMAIL PROTECTED]> wrote:
>> Does anybody have some client code for performing searches against a
>> Solr installation?  I've seen the DocumentManagerClient for adding/
>> dropping/etc docs from the index, but I don't see any client code in
>> svn anywhere.
>
> I've written some client code for doing such in python--I assume
> you're looking for java?
>
> Did the list reach a consensus on where client for various languages
> fit into the grand scheme of things?
>
> -Mike


--
Whirlycott
Philip Jacob
[EMAIL PROTECTED]
http://www.whirlycott.com/phil/




Re: client code for searching?

2006-07-14 Thread WHIRLYCOTT
I did before I sent the email to the list, actually.  Is there  
something specific on the wiki that you're able to point me at?


phil.

On Jul 14, 2006, at 3:00 PM, Brian Lucas wrote:


Check the wiki, my friend.
http://wiki.apache.org/solr



-Original Message-
From: WHIRLYCOTT [mailto:[EMAIL PROTECTED]
Sent: Friday, July 14, 2006 12:35 PM
To: solr-user@lucene.apache.org
Subject: Re: client code for searching?

Yes, I need java, but I would be eager to read your python code to
get some design ideas from it.

phil.

On Jul 14, 2006, at 2:32 PM, Mike Klaas wrote:


On 7/14/06, WHIRLYCOTT <[EMAIL PROTECTED]> wrote:

Does anybody have some client code for performing searches against a
Solr installation?  I've seen the DocumentManagerClient for adding/
dropping/etc docs from the index, but I don't see any client code in
svn anywhere.


I've written some client code for doing such in python--I assume
you're looking for java?

Did the list reach a consensus on where client for various languages
fit into the grand scheme of things?

-Mike



--
Whirlycott
Philip Jacob
[EMAIL PROTECTED]
http://www.whirlycott.com/phil/





--
   Whirlycott
   Philip Jacob
   [EMAIL PROTECTED]
   http://www.whirlycott.com/phil/




RE: client code for searching?

2006-07-14 Thread Brian Lucas
http://wiki.apache.org/solr/SolJava


-Original Message-
From: WHIRLYCOTT [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 14, 2006 1:03 PM
To: solr-user@lucene.apache.org
Subject: Re: client code for searching?

I did before I sent the email to the list, actually.  Is there  
something specific on the wiki that you're able to point me at?

phil.

On Jul 14, 2006, at 3:00 PM, Brian Lucas wrote:

> Check the wiki, my friend.
> http://wiki.apache.org/solr
>
>
>
> -Original Message-
> From: WHIRLYCOTT [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 14, 2006 12:35 PM
> To: solr-user@lucene.apache.org
> Subject: Re: client code for searching?
>
> Yes, I need java, but I would be eager to read your python code to
> get some design ideas from it.
>
> phil.
>
> On Jul 14, 2006, at 2:32 PM, Mike Klaas wrote:
>
>> On 7/14/06, WHIRLYCOTT <[EMAIL PROTECTED]> wrote:
>>> Does anybody have some client code for performing searches against a
>>> Solr installation?  I've seen the DocumentManagerClient for adding/
>>> dropping/etc docs from the index, but I don't see any client code in
>>> svn anywhere.
>>
>> I've written some client code for doing such in python--I assume
>> you're looking for java?
>>
>> Did the list reach a consensus on where client for various languages
>> fit into the grand scheme of things?
>>
>> -Mike
>
>
> --
> Whirlycott
> Philip Jacob
> [EMAIL PROTECTED]
> http://www.whirlycott.com/phil/
>
>


--
Whirlycott
Philip Jacob
[EMAIL PROTECTED]
http://www.whirlycott.com/phil/




Re: client code for searching?

2006-07-14 Thread WHIRLYCOTT
I'm already using that code and it's working fine for m.  It provides  
add(), delete(), commit(), optimize().


The question that I asked was if there was search() or query()  
functionality (implemented in Java) somewhere that I could work off of.


phil.

On Jul 14, 2006, at 3:09 PM, Brian Lucas wrote:


http://wiki.apache.org/solr/SolJava


-Original Message-
From: WHIRLYCOTT [mailto:[EMAIL PROTECTED]
Sent: Friday, July 14, 2006 1:03 PM
To: solr-user@lucene.apache.org
Subject: Re: client code for searching?

I did before I sent the email to the list, actually.  Is there
something specific on the wiki that you're able to point me at?

phil.

On Jul 14, 2006, at 3:00 PM, Brian Lucas wrote:


Check the wiki, my friend.
http://wiki.apache.org/solr



-Original Message-
From: WHIRLYCOTT [mailto:[EMAIL PROTECTED]
Sent: Friday, July 14, 2006 12:35 PM
To: solr-user@lucene.apache.org
Subject: Re: client code for searching?

Yes, I need java, but I would be eager to read your python code to
get some design ideas from it.

phil.

On Jul 14, 2006, at 2:32 PM, Mike Klaas wrote:


On 7/14/06, WHIRLYCOTT <[EMAIL PROTECTED]> wrote:
Does anybody have some client code for performing searches  
against a

Solr installation?  I've seen the DocumentManagerClient for adding/
dropping/etc docs from the index, but I don't see any client  
code in

svn anywhere.


I've written some client code for doing such in python--I assume
you're looking for java?

Did the list reach a consensus on where client for various languages
fit into the grand scheme of things?

-Mike



--
Whirlycott
Philip Jacob
[EMAIL PROTECTED]
http://www.whirlycott.com/phil/





--
Whirlycott
Philip Jacob
[EMAIL PROTECTED]
http://www.whirlycott.com/phil/





--
   Whirlycott
   Philip Jacob
   [EMAIL PROTECTED]
   http://www.whirlycott.com/phil/




RE: client code for searching?

2006-07-14 Thread Brian Lucas
Ah, my mistake.

The PHP client mentioned can provide some more direct examples with SOLR.
As a side note, I've written a Java search client to use with Lucene but it
would require some changes to use in Solr.  Would this help?

Brian
 
-Original Message-
From: WHIRLYCOTT [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 14, 2006 1:14 PM
To: solr-user@lucene.apache.org
Subject: Re: client code for searching?

I'm already using that code and it's working fine for m.  It provides  
add(), delete(), commit(), optimize().

The question that I asked was if there was search() or query()  
functionality (implemented in Java) somewhere that I could work off of.

phil.

On Jul 14, 2006, at 3:09 PM, Brian Lucas wrote:

> http://wiki.apache.org/solr/SolJava
>
>
> -Original Message-
> From: WHIRLYCOTT [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 14, 2006 1:03 PM
> To: solr-user@lucene.apache.org
> Subject: Re: client code for searching?
>
> I did before I sent the email to the list, actually.  Is there
> something specific on the wiki that you're able to point me at?
>
> phil.
>
> On Jul 14, 2006, at 3:00 PM, Brian Lucas wrote:
>
>> Check the wiki, my friend.
>> http://wiki.apache.org/solr
>>
>>
>>
>> -Original Message-
>> From: WHIRLYCOTT [mailto:[EMAIL PROTECTED]
>> Sent: Friday, July 14, 2006 12:35 PM
>> To: solr-user@lucene.apache.org
>> Subject: Re: client code for searching?
>>
>> Yes, I need java, but I would be eager to read your python code to
>> get some design ideas from it.
>>
>> phil.
>>
>> On Jul 14, 2006, at 2:32 PM, Mike Klaas wrote:
>>
>>> On 7/14/06, WHIRLYCOTT <[EMAIL PROTECTED]> wrote:
 Does anybody have some client code for performing searches  
 against a
 Solr installation?  I've seen the DocumentManagerClient for adding/
 dropping/etc docs from the index, but I don't see any client  
 code in
 svn anywhere.
>>>
>>> I've written some client code for doing such in python--I assume
>>> you're looking for java?
>>>
>>> Did the list reach a consensus on where client for various languages
>>> fit into the grand scheme of things?
>>>
>>> -Mike
>>
>>
>> --
>> Whirlycott
>> Philip Jacob
>> [EMAIL PROTECTED]
>> http://www.whirlycott.com/phil/
>>
>>
>
>
> --
> Whirlycott
> Philip Jacob
> [EMAIL PROTECTED]
> http://www.whirlycott.com/phil/
>
>


--
Whirlycott
Philip Jacob
[EMAIL PROTECTED]
http://www.whirlycott.com/phil/




Re: client code for searching?

2006-07-14 Thread WHIRLYCOTT

On Jul 14, 2006, at 3:29 PM, Brian Lucas wrote:


Ah, my mistake.


No worries.

The PHP client mentioned can provide some more direct examples with  
SOLR.


I'm looking at this for ideas...

As a side note, I've written a Java search client to use with  
Lucene but it

would require some changes to use in Solr.  Would this help?


Not sure.  Maybe.  I already have tools to manage my lucene index,  
but what I'm really looking to do is to expose the Solr query API  
into an easy-to-use Java client, probably using commons-httpclient  
underneath.


I'll make this available via jira asap.

phil.


Brian

-Original Message-
From: WHIRLYCOTT [mailto:[EMAIL PROTECTED]
Sent: Friday, July 14, 2006 1:14 PM
To: solr-user@lucene.apache.org
Subject: Re: client code for searching?

I'm already using that code and it's working fine for m.  It provides
add(), delete(), commit(), optimize().

The question that I asked was if there was search() or query()
functionality (implemented in Java) somewhere that I could work off  
of.


phil.

On Jul 14, 2006, at 3:09 PM, Brian Lucas wrote:


http://wiki.apache.org/solr/SolJava


-Original Message-
From: WHIRLYCOTT [mailto:[EMAIL PROTECTED]
Sent: Friday, July 14, 2006 1:03 PM
To: solr-user@lucene.apache.org
Subject: Re: client code for searching?

I did before I sent the email to the list, actually.  Is there
something specific on the wiki that you're able to point me at?

phil.

On Jul 14, 2006, at 3:00 PM, Brian Lucas wrote:


Check the wiki, my friend.
http://wiki.apache.org/solr



-Original Message-
From: WHIRLYCOTT [mailto:[EMAIL PROTECTED]
Sent: Friday, July 14, 2006 12:35 PM
To: solr-user@lucene.apache.org
Subject: Re: client code for searching?

Yes, I need java, but I would be eager to read your python code to
get some design ideas from it.

phil.

On Jul 14, 2006, at 2:32 PM, Mike Klaas wrote:


On 7/14/06, WHIRLYCOTT <[EMAIL PROTECTED]> wrote:

Does anybody have some client code for performing searches
against a
Solr installation?  I've seen the DocumentManagerClient for  
adding/

dropping/etc docs from the index, but I don't see any client
code in
svn anywhere.


I've written some client code for doing such in python--I assume
you're looking for java?

Did the list reach a consensus on where client for various  
languages

fit into the grand scheme of things?

-Mike



--
Whirlycott
Philip Jacob
[EMAIL PROTECTED]
http://www.whirlycott.com/phil/





--
Whirlycott
Philip Jacob
[EMAIL PROTECTED]
http://www.whirlycott.com/phil/





--
Whirlycott
Philip Jacob
[EMAIL PROTECTED]
http://www.whirlycott.com/phil/





--
   Whirlycott
   Philip Jacob
   [EMAIL PROTECTED]
   http://www.whirlycott.com/phil/




Re: client code for searching?

2006-07-14 Thread Mike Klaas

Here is some client code in python for updates and searching.  It
depends on ElementTree and is rather specific to my application, so it
is useful for inspiration at best (also, you'll find it difficult to
emulate the dynamic-dispatch xml parsing in java).

-Mike


Re: client code for searching?

2006-07-14 Thread WHIRLYCOTT

Um, code?

phil.

On Jul 14, 2006, at 4:30 PM, Mike Klaas wrote:


Here is some client code in python for updates and searching.  It
depends on ElementTree and is rather specific to my application, so it
is useful for inspiration at best (also, you'll find it difficult to
emulate the dynamic-dispatch xml parsing in java).

-Mike



--
   Whirlycott
   Philip Jacob
   [EMAIL PROTECTED]
   http://www.whirlycott.com/phil/




Re: client code for searching?

2006-07-14 Thread Mike Klaas

Must've scrubbed my attachment. I'll send it to you personally.

On 7/14/06, WHIRLYCOTT <[EMAIL PROTECTED]> wrote:

Um, code?

phil.

On Jul 14, 2006, at 4:30 PM, Mike Klaas wrote:

> Here is some client code in python for updates and searching.  It
> depends on ElementTree and is rather specific to my application, so it
> is useful for inspiration at best (also, you'll find it difficult to
> emulate the dynamic-dispatch xml parsing in java).
>
> -Mike


--
Whirlycott
Philip Jacob
[EMAIL PROTECTED]
http://www.whirlycott.com/phil/