Logs doesn't help.
That should be working.
Try the same query using Node Browser or any other tool to be sure that it works and it's not a REST API problem.
Hi,
This query is working for me.
Hi @pjcaracuel_2349 and @angelborroy
I am using
{ "query": { "query": "TYPE:\"cm:content\" AND od:ReObjID:\"OmGanesh\"" } }
As JSON Payload where ReObjID is my custom property and OmGanesh is value for that can you help me out why i am unable to fetch.
Try this
"query": "TYPE:\"cm:content\" AND (+@od:ReObjID:\"OmGanesh\")"
I tried with the JSON you mentioned i.e
{
"query":{
"query": "TYPE:\"cm:content\" AND (+@od:ReObjID:\"OmGanesh\")"}
}
i am getting following error:
{ "error": { "errorKey": "framework.exception.ApiDefault", "statusCode": 500, "briefSummary": "05260097 Request failed 500 /solr/alfresco/afts?wt=json&fl=DBID%2Cscore&rows=100&df=TEXT&start=0&locale=en_US&alternativeDic=DEFAULT_DICTIONARY&fq=%7B%21afts%7DAUTHORITY_FILTER_FROM_JSON&fq=%7B%21afts%7DTENANT_FILTER_FROM_JSON", "stackTrace": "For security reasons the stack trace is no longer displayed, but the property is kept for previous versions", "descriptionURL": "https://api-explorer.alfresco.com", "logId": "99150429-9c53-4821-a0ad-8373e85e8fbf" } }
Can you help me with this?
Can you put the metadata definition for od:ReObjID ?
Also you can try without TYPE:\"cm:content\" AND
as
{
"query":{
"query": "(+@od:ReObjID:\"OmGanesh\")"}
}
Thanks
Hi @EddieMay
Can you please guide me more about indexing. How to configure and how to check that indexing working properly or not?
one more thing even from alfresco share we are not able to search.
Note-Solution you mentioned in your comment inside it links which is pointing indexing with solr6 is giving error Page not Found error.
Hi @EddieMay
Any Update please?
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.