lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <gsing...@syr.edu>
Subject Re: How to do pagination on fethed result using lucene...
Date Tue, 20 Jun 2006 13:22:13 GMT
You may want to look into the new lazy field loading (on the trunk), in 
case you have 1 or 2 large fields that you don't necessarily display 
right away (unless a user clicks on a result).

This can speed up document loading significantly.

heritrix.lucene wrote:
> Hi,
> Actually i forgot to write that my application is web based and i am 
> running
> this on tomcat server.
>>> assuming your application is web based, the general concesus is to 
>>> start
> by implimening your app so that each page reexecutes the search,
>
> reexecuting the search is not feasible as every time it goes to look 
> those
> documents in index.
> i am also thinking for session as i told in my mail. I am here looking 
> for
> another option where the number of users are a lot and maintaining 
> session
> for each user is not feasible..
>
> with regards,
>
>
> On 6/20/06, Chris Hostetter <hossman_lucene@fucit.org> wrote:
>>
>>
>> : I have built an small application that give some thousand results. I
>> want to
>> : display results as google displays using pagination.
>> : Here my question is, how I'll maintain the sequence of displayed 
>> result.
>> :
>> : Should i associate the "Hits" object along with the session.
>>
>> assuming your application is web based, the general concesus is to start
>> by implimening your app so that each page reexecutes the search, and 
>> then
>> accesses the docs it cares about ... if you find that it's 
>> inefficient for
>> your needs in some way, investigate sessoin caching  -- but it's
>> frequently fast enough as is.
>>
>>
>>
>> -Hoss
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>
>>
>

-- 

Grant Ingersoll 
Sr. Software Engineer 
Center for Natural Language Processing 
Syracuse University 
School of Information Studies 
335 Hinds Hall 
Syracuse, NY 13244 

http://www.cnlp.org 
Voice:  315-443-5484 
Fax: 315-443-6886 


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


Mime
View raw message