検索条件に一致するデータの件数を取得します。
「2006年7月18日に大阪で宿泊可能なホテルは何件ありますか?」
年月日(2006年7月18日)および場所(大阪)を条件に検索を行います。
実行例
shunexecsearch -h ShnSvr -s "/document {/base/prefecture == '大阪' AND /information/date == '2006年07月18日'}"
実行結果
time : 2006-05-31 14:02:13.580 /*** ShunSearch executing... ***/ ShunSearch FINISHED ( 0.009222117 [sec] ) start No. = 1 hit count = 3 return count = 3 total data length [byte] = 1,179 data doesn't print out.
実行結果の“hit count”の行が検索条件に一致した件数になります。