0

I've working on a c++ project involving alfresco. I want to search a document by name, but the webscripts provided by alfresco requires fileId. I don't want to create a custom new webscript. so the question is there any existing webscript that supports search by name of the document?

4

2 に答える 2

3

検索用に設計されたリポジトリ層の Web スクリプトがあります: 、http://host:port/alfresco/service/slingshot/node/search多くの URL パラメータを受け入れますが、重要なものは:qと 例は次のようになります。langstorehttp://localhost:8080/alfresco/service/slingshot/node/search?q=%40name%3A%22name%22&lang=lucene&store=workspace%3A%2F%2FSpacesStore

q = @name:"name"lang=lucene および_store=workspace://SpacesStore

Webscript 応答はjson、デフォルトでフォーマットされます。

于 2013-06-14T16:23:03.667 に答える
2

組み込みの Alfresco キーワード検索 Web スクリプトを使用すると、指定された検索語でレポを検索し、たとえば Atom フィードとして取得できます。以下にある webscript パッケージを見てください。 http://<yourAlfrescoHost>/alfresco/service/index/package/org/alfresco/repository/search

于 2013-06-14T14:03:19.717 に答える