# Aaf: lazy=\>true and using .highlight causes DB request?!?

**URL:** <https://www.ruby-forum.com/t/aaf-lazy-true-and-using-highlight-causes-db-request/180532>\
**Category:** Ferret\
**Created:** [December 21, 2009, 12:53pm UTC](https://www.ruby-forum.com/t/aaf-lazy-true-and-using-highlight-causes-db-request/180532 "2009-12-21T12:53:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![neongrau](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/34f0e0/32.png) [@neongrau](https://www.ruby-forum.com/u/neongrau)\
**Post date:** [December 21, 2009, 12:53pm UTC](https://www.ruby-forum.com/t/aaf-lazy-true-and-using-highlight-causes-db-request/180532/1 "2009-12-21T12:53:58Z")

</div>

i want to perform searches that don’t hit the database and then  
hightlight 1 or 2 fields from the store.

when i do  
Document.find\_with\_ferret(query, {:lazy=\>true})

and then access  
hit.description  
the content gets pulled from the index without any DB request.

but when i do  
hit.highlight(query, {field =\> :description})

i see a request made to the DB  
Document Load (0.4ms) SELECT \* FROM `documents` WHERE  
(`documents`.`id` = 5)

what can i do to prevent this DB hit ?
