AnsweredAssumed Answered

Count number of specific word in a document

Question asked by webroro on Jan 22, 2009
Latest reply on Nov 3, 2009 by jpipkin
Hi Alfresco's gurus,

I'd like to use the search service to count the number founds of a specific word. For example, I'd like to do a query to count the number of word 'amount' in a document (full text search). The result should be 0 to n items.

Do you know a Lucene query or sample of code to do that?

Kind regards
Thanks in advance

Outcomes