How to Spotlight index a folder under /private/var
As you know it is a Hidden Folder and therefore it is not indexed by Spotlight.

You could change the Flag for the folder from hidden to no hidden using the terminal command:

sudo chflags nohidden /private/var/directory


To test, using Finder navigate to the /private/var/directory with Go To.

Now right click and use Get Info. does it still show it as Hidden?



To make Spotlight re-index that folder:

From the Apple () menu, choose System Preferences.
Click Spotlight.
Click the Privacy tab.
Drag a folder or an entire volume (your hard drive) to the list.
If prompted for confirmation, click OK.
Remove the item or volume you just added to the list by clicking it and then clicking the minus ("-") button.
Close Spotlight preferences.


Spotlight will re-index the contents of the folder or volume.