I've run into a problem where I cannot get Lucene to index. I had been adding and removing records using node_save and node_delete. Each time I would delete all the records I would recursively remove sites/default/files/luceneapi_node. After adding records I would run cron a bunch of times. The last time I added records the sites/default/files/luceneapi_node directory looked like this:

-rw-rw-r-- 1 me me 0 Aug 14 07:58 write.lock.file
-rw-rw-r-- 1 me me 20 Aug 14 07:58 segments_1
-rw-rw-r-- 1 me me 20 Aug 14 07:58 segments.gen
-rw-rw-r-- 1 me me 0 Aug 14 09:34 read.lock.file

The file sizes never change even though there are 500 records in the system. I tried deactivating then removing and reinstalling the Lucene modules but no luck. I ended up having to create a new site just to get indexing to work.

Are there any other tricks to getting Lucene to index content?

I'll be away for a week so I won't be responding for a while but I can engage you when I return.

Comments

slnm’s picture

I'm back in town. I tried the indexing again and now it works. Hmmm... So, right now I don't have a reproducible case to debug. If I can't reproduce the problem again in a week then please feel free to close this issue.

cpliakas’s picture

Thanks. Please let me know if the problem persists.

cpliakas’s picture

Status: Active » Closed (fixed)