List Info

Thread: Re: How to get all the search results - python




Re: How to get all the search results - python
user name
2007-09-24 05:59:26
> Hi Roopesh,

> I am not sure whether I understand your problem. 

> Is it the limitation of rows/pagination? 
> If so why not using a real high number (like
rows=10000000000)?

> salu2

Hi,

Assigning a high number will solve my problem. (I thought
that there will something like rows='all' to do it).

Can I do pagination using the python client? How can I
specify the starting position, offset etc for 
pagination through the python client? 

Regards
Roopesh


------------------
DigitalGlue, India




Re: How to get all the search results - python
country flaguser name
Spain
2007-09-24 06:00:48
On Mon, 2007-09-24 at 16:29 +0530, Roopesh P Raj wrote:
> > Hi Roopesh,
> 
> > I am not sure whether I understand your problem. 
> 
> > Is it the limitation of rows/pagination? 
> > If so why not using a real high number (like
rows=10000000000)?
> 
> > salu2
> 
> Hi,
> 
> Assigning a high number will solve my problem. (I
thought that there will something like rows='all' to do
it).
> 
> Can I do pagination using the python client? 

I am not a python expert but I think so.

> How can I specify the starting position, offset etc for

> pagination through the python client? 

htt
p://wiki.apache.org/solr/CommonQueryParameters

It should work as described in the above document (with the
start
parameter.

e.g. 
data = c.search(q='query', fl='id score unique_id Message-ID
To From
Subject',rows=50, wt='python',start=50)

HTH
-- 
Thorsten Scherler                                
thorsten.at.apache.org
Open Source Java                      consulting, training
and solutions


Re: How to get all the search results - python
user name
2007-09-24 06:45:22
By design, it's not very efficient to ask for a large number
of
results with solr/lucene. I think you will face performance
and memory
problems if you do that.


On 9/24/07, Thorsten Scherler <thorsten.scherler.extjuntadeandalucia.es> wrote:
> On Mon, 2007-09-24 at 16:29 +0530, Roopesh P Raj
wrote:
> > > Hi Roopesh,
> >
> > > I am not sure whether I understand your
problem.
> >
> > > Is it the limitation of rows/pagination?
> > > If so why not using a real high number (like
rows=10000000000)?
> >
> > > salu2
> >
> > Hi,
> >
> > Assigning a high number will solve my problem. (I
thought that there will something like rows='all' to do
it).
> >
> > Can I do pagination using the python client?
>
> I am not a python expert but I think so.
>
> > How can I specify the starting position, offset
etc for
> > pagination through the python client?
>
> htt
p://wiki.apache.org/solr/CommonQueryParameters
>
> It should work as described in the above document (with
the start
> parameter.
>
> e.g.
> data = c.search(q='query', fl='id score unique_id
Message-ID To From
> Subject',rows=50, wt='python',start=50)
>
> HTH
> --
> Thorsten Scherler                                
thorsten.at.apache.org
> Open Source Java                      consulting,
training and solutions
>
>


-- 
Jerome Eteve.
jeromeeteve.net
http://jerome.eteve.free
.fr/

[1-3]

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