# Ferret::Index::Index#scan

**URL:** <https://www.ruby-forum.com/t/ferret-index-scan/169987>\
**Category:** Ferret\
**Created:** [June 10, 2009, 11:56pm UTC](https://www.ruby-forum.com/t/ferret-index-scan/169987 "2009-06-10T23:56:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Derek\_Ferguson](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/5daacb/32.png) [@Derek\_Ferguson](https://www.ruby-forum.com/u/Derek_Ferguson)\
**Post date:** [June 10, 2009, 11:56pm UTC](https://www.ruby-forum.com/t/ferret-index-scan/169987/1 "2009-06-10T23:56:42Z")

</div>

Hi everyone, I’m having trouble with the Index scan() method. When I  
call it, I receive a ‘private method called’ error. Example:

index.scan(‘blah’)  
 → private method `scan’ called for #Ferret::Index::Index:0xb7c15374  
(NoMethodError)

I tried it on the searcher as well:

index.searcher.scan(‘blah’)  
 → private method `scan’ called for #\<Ferret::Search::Searcher:  
0xb7c0161c\> (NoMethodError)

scan() docs:  
[http://ferret.davebalmain.com/api/classes/Ferret/Index/Index.html#M000024](http://ferret.davebalmain.com/api/classes/Ferret/Index/Index.html#M000024)

I’m using ferret-0.11.6.

Can anyone offer any suggestions?

Thanks,

Derek
