lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Possible to fetch a document without all fields for performance?
Date Wed, 19 May 2004 15:37:02 GMT
Hi Kevin,

There is no API for this, and I agree it would be handy.

Otis

--- Kevin Burton <burton@newsmonster.org> wrote:
> Say I have a query result for the term Linux... now I just want the 
> TITLE of these documents not the BODY.
> 
> To further this scenario imagine the TITLE is 500 bytes but the  BODY
> is 
> 50M. 
> 
> The current impl of fetching a document will pull in ALL 50,000,500 
> bytes not just the 500 that I need. 
> 
> Obviously if I could just get the TITLE field this would be a HUGE
> speedup.
> 
> Is there a somewhat simple and efficient way to get a document with a
> 
> restricted set of fields?  Digging through the API it didnt' seem
> obvious.
> 
> Kevin
> 
> -- 
> 
> Please reply using PGP.
> 
>     http://peerfear.org/pubkey.asc    
>     
>     NewsMonster - http://www.newsmonster.org/
>     
> Kevin A. Burton, Location - San Francisco, CA, Cell - 415.595.9965
>        AIM/YIM - sfburtonator,  Web - http://peerfear.org/
> GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412
>   IRC - freenode.net #infoanarchy | #p2p-hackers | #newsmonster
> 
> > begin:vcard
> fn:Kevin Burton
> n:Burton;Kevin
> email;internet:burton@sofari.com
> tel;work:415-595-9965
> tel;home:415-595-9965
> tel;cell:415-595-9965
> x-mozilla-html:TRUE
> version:2.1
> end:vcard
> 
> 

> ATTACHMENT part 2 application/pgp-signature name=signature.asc



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


Mime
View raw message