File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JForum and the fly likes Problem Indexing Board Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JForum
Bookmark "Problem Indexing Board" Watch "Problem Indexing Board" New topic
Author

Problem Indexing Board

Migrated From Jforum.net
Ranch Hand

Joined: Apr 22, 2012
Posts: 17424
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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem Indexing Board