You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by Asish Kumar Mohanty <am...@del.aithent.com> on 2009/09/14 12:45:58 UTC

Solr API

Hi,

I just want to write a Solr API for full-import. Can anybody please help me
out???

It's very urgent.

Regards
Asish



Re: Solr API

Posted by Asish Kumar Mohanty <am...@del.aithent.com>.
Hi,

I am writing this code but still not getting the command properly.

SolrServer solr = new
CommonsHttpSolrServer("http://localhost:8080/solr/db");



SolrQuery q = new
SolrQuery().setParam("qt","/dataimport").setParam("command","full-import");


QueryResponse response = solr.query(q);

System.out.println("*****response is****** " + response);

}

----- Original Message ----- 
From: "Noble Paul നോബിള്‍ नोब्ळ्" <no...@corp.aol.com>
To: <so...@lucene.apache.org>
Sent: Tuesday, September 15, 2009 12:01 PM
Subject: Re: Solr API


SolrQuery q = new
SolrQuery().setParam("qt","/dataimport").setParam("command",
"full-import");
solrServer.query(q);

On Tue, Sep 15, 2009 at 11:32 AM, Asish Kumar Mohanty
<am...@del.aithent.com> wrote:
> Hi Sir,
> still facing problem..
>
> i cannot understand how to provide the command
> http://localhost:8983/solr/db/dataimport?command=full-import..
>
> can anybody plz help me out???
> ----- Original Message -----
> From: "Noble Paul നോബിള്‍ नोब्ळ्" <no...@corp.aol.com>
> To: <so...@lucene.apache.org>
> Sent: Monday, September 14, 2009 5:26 PM
> Subject: Re: Solr API
>
>
> SolrJ can be used to make any name value request to Solr.
> use the SolrQuery#set(name,val)
>
>
>
> On Mon, Sep 14, 2009 at 4:47 PM, Asish Kumar Mohanty
> <am...@del.aithent.com> wrote:
>> Yes Sir..
>>
>> SolrJ API...
>>
>>
>>
>> Regards
>> Asish
>>
>> ----- Original Message -----
>> From: "Noble Paul നോബിള്‍ नोब्ळ्" <no...@corp.aol.com>
>> To: <so...@lucene.apache.org>
>> Sent: Monday, September 14, 2009 4:40 PM
>> Subject: Re: Solr API
>>
>>
>>> did you mean SolrJ API?
>>>
>>> On Mon, Sep 14, 2009 at 4:15 PM, Asish Kumar Mohanty
>>> <am...@del.aithent.com> wrote:
>>> > Hi,
>>> >
>>> > I just want to write a Solr API for full-import. Can anybody please
> help
>> me
>>> > out???
>>> >
>>> > It's very urgent.
>>> >
>>> > Regards
>>> > Asish
>>> >
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>> -----------------------------------------------------
>>> Noble Paul | Principal Engineer| AOL | http://aol.com
>>>
>>
>>
>>
>
>
>
> --
> -----------------------------------------------------
> Noble Paul | Principal Engineer| AOL | http://aol.com
>
>
>



-- 
-----------------------------------------------------
Noble Paul | Principal Engineer| AOL | http://aol.com



Re: Solr API

Posted by Noble Paul നോബിള്‍ नोब्ळ् <no...@corp.aol.com>.
SolrQuery q = new
SolrQuery().setParam("qt","/dataimport").setParam("command",
"full-import");
solrServer.query(q);

On Tue, Sep 15, 2009 at 11:32 AM, Asish Kumar Mohanty
<am...@del.aithent.com> wrote:
> Hi Sir,
> still facing problem..
>
> i cannot understand how to provide the command
> http://localhost:8983/solr/db/dataimport?command=full-import..
>
> can anybody plz help me out???
> ----- Original Message -----
> From: "Noble Paul നോബിള്‍ नोब्ळ्" <no...@corp.aol.com>
> To: <so...@lucene.apache.org>
> Sent: Monday, September 14, 2009 5:26 PM
> Subject: Re: Solr API
>
>
> SolrJ can be used to make any name value request to Solr.
> use the SolrQuery#set(name,val)
>
>
>
> On Mon, Sep 14, 2009 at 4:47 PM, Asish Kumar Mohanty
> <am...@del.aithent.com> wrote:
>> Yes Sir..
>>
>> SolrJ API...
>>
>>
>>
>> Regards
>> Asish
>>
>> ----- Original Message -----
>> From: "Noble Paul നോബിള്‍ नोब्ळ्" <no...@corp.aol.com>
>> To: <so...@lucene.apache.org>
>> Sent: Monday, September 14, 2009 4:40 PM
>> Subject: Re: Solr API
>>
>>
>>> did you mean SolrJ API?
>>>
>>> On Mon, Sep 14, 2009 at 4:15 PM, Asish Kumar Mohanty
>>> <am...@del.aithent.com> wrote:
>>> > Hi,
>>> >
>>> > I just want to write a Solr API for full-import. Can anybody please
> help
>> me
>>> > out???
>>> >
>>> > It's very urgent.
>>> >
>>> > Regards
>>> > Asish
>>> >
>>> >
>>> >
>>>
>>>
>>>
>>> --
>>> -----------------------------------------------------
>>> Noble Paul | Principal Engineer| AOL | http://aol.com
>>>
>>
>>
>>
>
>
>
> --
> -----------------------------------------------------
> Noble Paul | Principal Engineer| AOL | http://aol.com
>
>
>



-- 
-----------------------------------------------------
Noble Paul | Principal Engineer| AOL | http://aol.com

Re: Solr API

Posted by Asish Kumar Mohanty <am...@del.aithent.com>.
Hi Sir,
still facing problem..

i cannot understand how to provide the command
http://localhost:8983/solr/db/dataimport?command=full-import..

can anybody plz help me out???
----- Original Message ----- 
From: "Noble Paul നോബിള്‍ नोब्ळ्" <no...@corp.aol.com>
To: <so...@lucene.apache.org>
Sent: Monday, September 14, 2009 5:26 PM
Subject: Re: Solr API


SolrJ can be used to make any name value request to Solr.
use the SolrQuery#set(name,val)



On Mon, Sep 14, 2009 at 4:47 PM, Asish Kumar Mohanty
<am...@del.aithent.com> wrote:
> Yes Sir..
>
> SolrJ API...
>
>
>
> Regards
> Asish
>
> ----- Original Message -----
> From: "Noble Paul നോബിള്‍ नोब्ळ्" <no...@corp.aol.com>
> To: <so...@lucene.apache.org>
> Sent: Monday, September 14, 2009 4:40 PM
> Subject: Re: Solr API
>
>
>> did you mean SolrJ API?
>>
>> On Mon, Sep 14, 2009 at 4:15 PM, Asish Kumar Mohanty
>> <am...@del.aithent.com> wrote:
>> > Hi,
>> >
>> > I just want to write a Solr API for full-import. Can anybody please
help
> me
>> > out???
>> >
>> > It's very urgent.
>> >
>> > Regards
>> > Asish
>> >
>> >
>> >
>>
>>
>>
>> --
>> -----------------------------------------------------
>> Noble Paul | Principal Engineer| AOL | http://aol.com
>>
>
>
>



-- 
-----------------------------------------------------
Noble Paul | Principal Engineer| AOL | http://aol.com



Re: Solr API

Posted by Asish Kumar Mohanty <am...@del.aithent.com>.
Yeh..got it..
but sir it would be little bit easier for me if could post me some code
examples.
----- Original Message ----- 
From: "Noble Paul നോബിള്‍ नोब्ळ्" <no...@corp.aol.com>
To: <so...@lucene.apache.org>
Sent: Monday, September 14, 2009 5:26 PM
Subject: Re: Solr API


SolrJ can be used to make any name value request to Solr.
use the SolrQuery#set(name,val)



On Mon, Sep 14, 2009 at 4:47 PM, Asish Kumar Mohanty
<am...@del.aithent.com> wrote:
> Yes Sir..
>
> SolrJ API...
>
>
>
> Regards
> Asish
>
> ----- Original Message -----
> From: "Noble Paul നോബിള്‍ नोब्ळ्" <no...@corp.aol.com>
> To: <so...@lucene.apache.org>
> Sent: Monday, September 14, 2009 4:40 PM
> Subject: Re: Solr API
>
>
>> did you mean SolrJ API?
>>
>> On Mon, Sep 14, 2009 at 4:15 PM, Asish Kumar Mohanty
>> <am...@del.aithent.com> wrote:
>> > Hi,
>> >
>> > I just want to write a Solr API for full-import. Can anybody please
help
> me
>> > out???
>> >
>> > It's very urgent.
>> >
>> > Regards
>> > Asish
>> >
>> >
>> >
>>
>>
>>
>> --
>> -----------------------------------------------------
>> Noble Paul | Principal Engineer| AOL | http://aol.com
>>
>
>
>



-- 
-----------------------------------------------------
Noble Paul | Principal Engineer| AOL | http://aol.com



Re: Solr API

Posted by Noble Paul നോബിള്‍ नोब्ळ् <no...@corp.aol.com>.
SolrJ can be used to make any name value request to Solr.
use the SolrQuery#set(name,val)



On Mon, Sep 14, 2009 at 4:47 PM, Asish Kumar Mohanty
<am...@del.aithent.com> wrote:
> Yes Sir..
>
> SolrJ API...
>
>
>
> Regards
> Asish
>
> ----- Original Message -----
> From: "Noble Paul നോബിള്‍ नोब्ळ्" <no...@corp.aol.com>
> To: <so...@lucene.apache.org>
> Sent: Monday, September 14, 2009 4:40 PM
> Subject: Re: Solr API
>
>
>> did you mean SolrJ API?
>>
>> On Mon, Sep 14, 2009 at 4:15 PM, Asish Kumar Mohanty
>> <am...@del.aithent.com> wrote:
>> > Hi,
>> >
>> > I just want to write a Solr API for full-import. Can anybody please help
> me
>> > out???
>> >
>> > It's very urgent.
>> >
>> > Regards
>> > Asish
>> >
>> >
>> >
>>
>>
>>
>> --
>> -----------------------------------------------------
>> Noble Paul | Principal Engineer| AOL | http://aol.com
>>
>
>
>



-- 
-----------------------------------------------------
Noble Paul | Principal Engineer| AOL | http://aol.com

Re: Solr API

Posted by Asish Kumar Mohanty <am...@del.aithent.com>.
Yes Sir..

SolrJ API...



Regards
Asish

----- Original Message ----- 
From: "Noble Paul നോബിള്‍ नोब्ळ्" <no...@corp.aol.com>
To: <so...@lucene.apache.org>
Sent: Monday, September 14, 2009 4:40 PM
Subject: Re: Solr API


> did you mean SolrJ API?
>
> On Mon, Sep 14, 2009 at 4:15 PM, Asish Kumar Mohanty
> <am...@del.aithent.com> wrote:
> > Hi,
> >
> > I just want to write a Solr API for full-import. Can anybody please help
me
> > out???
> >
> > It's very urgent.
> >
> > Regards
> > Asish
> >
> >
> >
>
>
>
> -- 
> -----------------------------------------------------
> Noble Paul | Principal Engineer| AOL | http://aol.com
>



Re: Solr API

Posted by Noble Paul നോബിള്‍ नोब्ळ् <no...@corp.aol.com>.
did you mean SolrJ API?

On Mon, Sep 14, 2009 at 4:15 PM, Asish Kumar Mohanty
<am...@del.aithent.com> wrote:
> Hi,
>
> I just want to write a Solr API for full-import. Can anybody please help me
> out???
>
> It's very urgent.
>
> Regards
> Asish
>
>
>



-- 
-----------------------------------------------------
Noble Paul | Principal Engineer| AOL | http://aol.com

Re: Solr API

Posted by Marc Sturlese <ma...@gmail.com>.
You should open a new thread asking for it.

Asish Kumar Mohanty wrote:
> 
> Hi,
> 
> I just want to write a Solr API for full-import. Can anybody please help
> me
> out???
> 
> It's very urgent.
> 
> Regards
> Asish
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/-jira--Created%3A-%28SOLR-1311%29-pseudo-field-collapsing-tp24684526p25433907.html
Sent from the Solr - Dev mailing list archive at Nabble.com.