Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem Indexing Board

 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All,

I've hacked around an issue, but I wanted to make you guys aware of what I did.

I was using the web interface to re-index my board, with no luck. So, I switched to use the command line interface. That didn't work either (using message indexing based on the post ids). After some debugging I found that the problem was in the batch mode. I'm not sure why or what was the cause, but when I switched LuceneReindexer:181 from:

luceneIndexer.batchCreate(post);

to

luceneIndexer.create(post);

Everything indexed properly.

I just wanted to make you guys aware. You may already have a patch in place, or this may be environmental. I'm not sure.

-brian
[originally posted on jforum.net by boneill]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic