You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lucenenet.apache.org by Erwin Yang <oi...@yahoo.com.cn> on 2008/03/13 03:37:21 UTC
'SQL:Group By' in lucene.net
here are some documents like this:
[ID]
[Date]
[Text]
how can i get the count of hits for different date?
i don't want to make a query for every date.
for example, a query returned some hits:
[id] [date] [Text]
1 2008-03-13 Text1
2 2008-03-13 Text2
3 2008-03-10 Text3
how can i get the information, in one query:
[date] [count]
2008-03-13 2
2008-03-10 1
Erwin Yangoierwin@yahoo.com.cn
---------------------------------
雅虎邮箱传递新年祝福,个性贺卡送亲朋!