how can i search in a document? Any rule?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-17-2006 10:14 AM
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
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
Labels:
- Labels:
-
Archive
6 REPLIES 6

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2006 05:13 AM
By default the simple search and advanced search will search the content of the documents and the document name meta-data.
Thanks,
Kevin
Thanks,
Kevin
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2006 05:23 AM
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
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

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2006 06:30 AM
Yes, you can execute Lucene and XPath searches via JavaScript actions, and you can execute JavaScript actions from a rule.
Thanks,
Kevin
Thanks,
Kevin
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2006 06:48 AM
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
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

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2006 07:18 AM
All this kind of info can be found on the Alfresco Wiki pages:
http://wiki.alfresco.com/
Specifically:
http://wiki.alfresco.com/wiki/JavaScript_API
http://wiki.alfresco.com/wiki/Action_and_Rules_Documentation
http://wiki.alfresco.com/wiki/Search
Thanks,
Kevin
http://wiki.alfresco.com/
Specifically:
http://wiki.alfresco.com/wiki/JavaScript_API
http://wiki.alfresco.com/wiki/Action_and_Rules_Documentation
http://wiki.alfresco.com/wiki/Search
Thanks,
Kevin
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-18-2006 09:14 AM
thx very much.
I looking forward to follow the documents in the Wiki.
Any more messages i'll in contact again
Regards.
Bird
I looking forward to follow the documents in the Wiki.
Any more messages i'll in contact again

Regards.
Bird
