lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Burton <bur...@newsmonster.org>
Subject Re: Possible to fetch a document without all fields for performance?
Date Wed, 19 May 2004 23:23:00 GMT
Morus Walter wrote:

>I don't understand that.
>You get the document object which does not contain the documents field
>contents. It just provides access to this data.
>It's up to you which fields you access.
>And remember that you don't have to store fields at all, if you don't need 
>to retrieve them (e.g. because the original documents are somewhere else). 
>  
>
Nope... When you get the Document the fields are already pre-parsed from 
disk. If you don't call ANY methods to get fields it still has to read 
all the fields off disk.

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


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message