sensenet

Can I count the number of results in my Lucene query


I would like to create a smart folder to count how many items I have with certain conditions. I have not found any command in the wiki to make the query return the number of results instead of the items themselves. Thanks in advance.

BR, Szeki


Solution

  • .COUNTONLY is the term that you are looking for.

    You can find examples here