cancel
Showing results for 
Search instead for 
Did you mean: 

FTS Query

castgroupteam
Champ in-the-making
Champ in-the-making
After a clean installation of Alfresco CE 4.2.e this query FTS over the Repository does not work as expected:

TYPE:"cm:content" AND NOT ASPECT:"cm:titled"

the results contains a lot of nodes that has aspect cm:titled.

In general all queries that combine TYPE and ASPECT keyword return worng results.

Someone can explain the reason?

Thanks in advance

Daniele
3 REPLIES 3

kaynezhang
World-Class Innovator
World-Class Innovator
I'm using 4.3.0,I did not have  this problem.
You can try
+TYPE:"cm:content" AND -ASPECT:"cm:titled"

Thank you for your help.
does not work as well.

Daniele

castgroupteam
Champ in-the-making
Champ in-the-making
Ok. After an intensive debug session I've discovered the problem.
The problem is with Alfresco's new fature: transactional metadata query.
It's possible to disable setting solr.query.fts.queryConsistency=EVENTUAL as explained here:
http://docs.alfresco.com/4.2/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Fconcepts%2Fintrans-met...

Daniele