- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2019 01:59 PM
I faced with strange (for me) problem.
When I query with (for example)
SITE:"test" and TYPE:"test:myDoc"
I get a lot of nodes.
Now I add an optional aspect to only 2 of previous nodes and try to get such nodes with
SITE:"test" and TYPE:"test:myDoc" and ASPECT:"test:myAspect"
Responce on node browser is: zero results. But If I cut the SITE part of the query and use:
TYPE:"test:myDoc" and ASPECT:"test:myAspect"
I get only the 2 nodes!
The problem is that I cannot cut the SITE part of the query.
Would anyone know how to solve this strange problem?
I'm stuck.
Thanks in advance.
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-28-2019 12:32 PM
Solved!
Write here the solution for others with the same or similar problem.
I performed a full reindex with solr (as described on documentation) and now I get correct results. Now both the 2 query:
SITE:"test" and TYPE:"test:myDoc" and ASPECT:"test:myAspect" TYPE:"test:myDoc" and ASPECT:"test:myAspect"
return 2 nodes!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2019 03:56 PM
I did never heard about SITE keyword in fts queries, but have you tried specifying PATH instead of SITE? PATH would be something like "app:company_home/st:sites/cm:test". I don't remember exactly the namespaces, but you can find this path searching site's document library noderef in node browser
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-27-2019 04:46 PM
Thank you, Narkuss, for the answer.
Before to post the message I tryed the PATH alternative with the same (identical) problem.
SITE is a special field.
You can find the complete list here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-28-2019 12:32 PM
Solved!
Write here the solution for others with the same or similar problem.
I performed a full reindex with solr (as described on documentation) and now I get correct results. Now both the 2 query:
SITE:"test" and TYPE:"test:myDoc" and ASPECT:"test:myAspect" TYPE:"test:myDoc" and ASPECT:"test:myAspect"
return 2 nodes!
