[Building Sakai] Search index troubles

Warwick Chapman warwickchapman at gmail.com
Sat Nov 27 22:51:40 PST 2010


When you say searchjournal directory, do you
mean: /opt/sakai/index/index-import/

-- Warwick Bruce Chapman | +27 83 7797 094 | http://warwickchapman.com


On Fri, Nov 26, 2010 at 5:15 PM, Tom Hall <thall at brocku.ca> wrote:

>  HI Warwick
>
> This looks similar to something we have seen.  Can you please tell me how
> many files are in your searchjournal directory, so that I can be sure.
>
> Tom
>
> On 11/26/2010 1:57 AM, Warwick Chapman wrote:
>
> Hi All
>
>  Any pointers on this issue?
>
>  2010-11-26 08:55:49,283  WARN IndexManager
> org.sakaiproject.search.optimize.impl.OptimizeIndexOperation - Failed to
> compete optimize
> org.sakaiproject.search.transaction.api.IndexTransactionException: Failed
> to prepare
>  at
> org.sakaiproject.search.transaction.impl.IndexTransactionImpl.prepare(IndexTransactionImpl.java:157)
>  at
> org.sakaiproject.search.optimize.impl.OptimizeIndexOperation.runOnce(OptimizeIndexOperation.java:90)
>  at
> org.sakaiproject.search.journal.impl.IndexManagementTimerTask.run(IndexManagementTimerTask.java:139)
>  at java.util.TimerThread.mainLoop(Timer.java:512)
>  at java.util.TimerThread.run(Timer.java:462)
> Caused by: java.lang.IllegalArgumentException: Directory
> org.apache.lucene.store.SimpleFSDirectory@/opt/sakai/index/index-import/1106
> appears more than once
>  at org.apache.lucene.index.IndexWriter.noDupDirs(IndexWriter.java:3607)
>  at org.apache.lucene.index.IndexWriter.addIndexes(IndexWriter.java:3544)
>  at
> org.sakaiproject.search.optimize.impl.OptimizeTransactionListenerImpl.prepare(OptimizeTransactionListenerImpl.java:171)
>  at
> org.sakaiproject.search.transaction.impl.IndexTransactionImpl.firePrepare(IndexTransactionImpl.java:313)
>  at
> org.sakaiproject.search.transaction.impl.IndexTransactionImpl.prepare(IndexTransactionImpl.java:147)
>
>  -- Warwick Bruce Chapman | +27 83 7797 094 | http://warwickchapman.com
>
>
> _______________________________________________
> sakai-dev mailing listsakai-dev at collab.sakaiproject.orghttp://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20101128/ae69fa8c/attachment.html 


More information about the sakai-dev mailing list