Edit AllPages

Hi. Does anyone know if it is possible to force the finder to index a certain volume/folder and to somehow obtain the index file? Or would manually indexing it be better… and if so is there any specific way to do it as quickly as possible?. Thanks!