Hi everybody,
I'm a newbie of Alfresco, so...
I'm developing a custom search, using the SearchService and/or the NodeService APIs.
I've this strange behaviour:
I've a node id: 891aae0d-9c2f-41c3-a70d-9022d4147e33
If I search for the node with this ID (I expect that only one must be returned)
using the "LANGUAGE_LUCENE" and as query @sys\:node-uuid:"891aae0d-9c2f-41c3-a70d-9022d4147e33"
the resultset is formed by only one record as I expected.
BUT, If I search for the node using the "LANGUAGE_FTS_ALFRESCO"
and as query ID:"workspace\://SpacesStore/891aae0d-9c2f-41c3-a70d-9022d4147e33"
the resultset contains the same item but twice!!! (ResultSet size = 2 and items are equal!!!)
What's wrong? Could you explain me if it's my fault?
---
P.S. before you asking me why I search for a node using the search service,
I tell you that actually I have a first condition plus some node IDs put in OR sequence:
(TYPE:"ts:booklet" AND t1:%s) OR (ID:... OR ID:... OR ID:...)
where t1 is a custom template.
I discovered that something was wrong with the number of items of a ResultSet,
so I tested using only one ID, and I got this strange behaviour.
Thanks in advance
Davide!