List Info

Thread: Re: Using Embedded and HTTP Post alternatively




Re: Using Embedded and HTTP Post alternatively
country flaguser name
Germany
2007-11-06 12:52:09
> If you need to allow HTTP access to solr, then just use
standard solr 
> with your embedded stuff in a custom request handler
(or something). 
> Any other path, you will be re-inventing many wheels.
>
> If at all possible, I reccomend checking out:
> http://wiki.apache.
org/solr/Solrj
>
> this is nice because you can write the same code and
use it in an 
> embedded context or with an HTTP server depending on
the needs (or if 
> the needs change)
As I see, the SolrServer interface (and Solrj in general)
only is shiped 
with version 1.3.

Is there any date when Solr 1.3 is published?

How reliable are the nightly builds? Can it be used in
production?

Where to set result limit using SolrServer interface?
country flaguser name
Germany
2007-11-06 13:15:52
I have a query

        SolrServer server = getSolrServer();
        SolrQuery solrQuery = new SolrQuery();
        solrQuery.setQuery(..);
        QueryResponse rsp = server.query(solrQuery);

Now where can I set the result limit for this query?

Another question : Where can I download the test cases for
Solrj 
mentioned in the Solr 1.3 wiki?

Thanks

Jörg

Re: Using Embedded and HTTP Post alternatively
country flaguser name
Canada
2007-11-06 13:29:56
On 6-Nov-07, at 10:52 AM, Jörg Kiegeland wrote:

>
>> If you need to allow HTTP access to solr, then just
use standard  
>> solr with your embedded stuff in a custom request
handler (or  
>> something). Any other path, you will be
re-inventing many wheels.
>>
>> If at all possible, I reccomend checking out:
>> http://wiki.apache.
org/solr/Solrj
>>
>> this is nice because you can write the same code
and use it in an  
>> embedded context or with an HTTP server depending
on the needs (or  
>> if the needs change)
> As I see, the SolrServer interface (and Solrj in
general) only is  
> shiped with version 1.3.
>
> Is there any date when Solr 1.3 is published?

No planned date, but I wouldn't expect it to be _too_ long. 
It would  
be nice to coincide with Lucene 2.3.

> How reliable are the nightly builds? Can it be used in
production?

I think it is quite reliable, but there are bound to be a
few quirks  
that haven't been discovered yet.  I'm using it in
production.

More important than any claims we make is running it against
your own  
application's test suite, of course.

-Mike
Re: Using Embedded and HTTP Post alternatively
country flaguser name
United States
2007-11-06 17:14:57
> How reliable are the nightly builds? Can it be used in
production?
> 

The nightly builds are stable in that they do what they say
they do -- 
and if not, they are fixed quickly.  However, the interfaces
that have 
changed since 1.2 are not totally stable.  That is, the
interfaces from 
1.2 will work in 1.3, but new things (including solrj) are
subject to 
change until the official release.

ryan


[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )