cancel
Showing results for 
Search instead for 
Did you mean: 

how can i search in a document? Any rule?

unknown-user
Champ on-the-rise
Champ on-the-rise
Hello there

I have seen a condition in Alfresco that is if the name has i.e, *model.xml . That search the given input in the path of the name.

What i would like to know is how can i do to search a specific word, or *word* in the document content. Is there any condition that simulates what i am trying to explain? Or how could that be implemented?

Or more simply. How can i search a word in a document?

Thanks all!
Bird
6 REPLIES 6

kevinr
Star Contributor
Star Contributor
By default the simple search and advanced search will search the content of the documents and the document name meta-data.

Thanks,

Kevin

unknown-user
Champ on-the-rise
Champ on-the-rise
ok.

i got that. But… i want to know if there is any way to make this search as a rule. not as generic as the simple or advances search.

Thanks.
Bird

kevinr
Star Contributor
Star Contributor
Yes, you can execute Lucene and XPath searches via JavaScript actions, and you can execute JavaScript actions from a rule.

Thanks,

Kevin

unknown-user
Champ on-the-rise
Champ on-the-rise
sorry but i am a little lost.

How can i do so?

How can i execute JavaScript actions? where? in which part of the code?

Another thing. What is Lucene and XPath searches?

Can you show me an example of it? Thanks very much for your hurry

Bird

kevinr
Star Contributor
Star Contributor

unknown-user
Champ on-the-rise
Champ on-the-rise
thx very much.

I looking forward to follow the documents in the Wiki.

Any more messages i'll in contact again Smiley Happy

Regards.
Bird
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.