This TransactionException should't be raised in the saveAllSessions.
Anyway this does not mean that your indexation did not suceed, right ?

But you can open a bug for that since this error should not be raised.

Narcis, about the analyser :
- where did you set the analyser ?
- what is your indexing config ?
- what field of your document contains the word "clôture" (if blob file, then what type of file)

May be Georges can give us a hand about that ?

Tiry


Sean Radford a écrit :
Hi,

I'm having the same TransactionException when trying to index all my documents via the shell. I'm using standard file-based indexes.

Any ideas on how to get rid of this problem?

Thanks,

Sean

Narcis Paslaru wrote:
Hello,

We need to customize the search engine in order to get the same results for the words without special characters.
Example :

We have a document that contains the word "clôture".

We want the search to find this document when the user searches for the word "clôture" or "cloture".

Is this possible in Nuxeo ?

PS : I have tried setting the analyzer to "french" but I didn't achieve the wanted behaviour even after reindexing.
At the end of the reindexing precess I always get an error :

13:12:02,174 ERROR [ReindexingAllTask] Reindexing all documents failed... org.nuxeo.ecm.core.search.api.client.IndexingException: org.nuxeo.ecm.core.api.WrappedException: Exception: org.compass.core.transaction.TransactionException. message: Commit failed; nested exception is java.lang.IllegalStateException: No transaction. at org.nuxeo.ecm.core.search.backend.compass.CompassBackend.saveAllSessions(CompassBackend.java:789) at org.nuxeo.ecm.core.search.service.SearchServiceImpl.saveAllSessions(SearchServiceImpl.java:963) at org.nuxeo.ecm.core.search.threading.ReindexingAllTask.run(ReindexingAllTask.java:61) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
       at java.lang.Thread.run(Thread.java:595)
Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: org.compass.core.transaction.TransactionException. message: Commit failed; nested exception is java.lang.IllegalStateException: No transaction. at org.compass.core.transaction.AbstractJTATransaction.doCommit(AbstractJTATransaction.java:116) at org.compass.core.transaction.AbstractTransaction.commit(AbstractTransaction.java:38) at org.nuxeo.ecm.core.search.backend.compass.CompassBackend.saveAllSessions(CompassBackend.java:785)
       ... 5 more
Caused by: org.nuxeo.ecm.core.api.WrappedException: Exception: java.lang.IllegalStateException. message: No transaction.
       at org.jboss.tm.TxManager.commit(TxManager.java:246)
at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(ServerVMClientUserTransaction.java:140) at org.compass.core.transaction.AbstractJTATransaction.doCommit(AbstractJTATransaction.java:112)
       ... 7 more


Thanks in advance,
Narcis Paslaru

_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm





_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to