how to filter data from matched result grouping by field value

2018-04-05 Thread jaejong
How can I filter resent data from matched result by grouping date field for example I annote my entity as follows hsno column for @Field(index=Index.YES, analyze=Analyze.YES, store=Store.YES) date column for @Field(index = Index.YES, analyze=Analyze.NO, store = Store.YES) kor column for @Field(i

Re: Grouping by field value

2007-10-09 Thread Erick Erickson
Sure. You can either build up the string and let QueryParser handle it or construct your very own BooleanQuery appropriately. The second is what I'd try first. Best Erick On 10/8/07, Cool Coder <[EMAIL PROTECTED]> wrote: > > >If Solr will work for you, it has faceting built in. > Let me check wit

Re: Grouping by field value

2007-10-08 Thread Cool Coder
>If Solr will work for you, it has faceting built in. Let me check with Solr, whether I can use Solr. >> My next question is very simple, I just wanted to search more than one field >> something like search for "kbk pencil" in "description" field and >> >>"manufacturer" field. Can I use BooleanQ

Re: Grouping by field value

2007-10-08 Thread Yonik Seeley
On 10/8/07, Cool Coder <[EMAIL PROTECTED]> wrote: > I just started working on a lucene based project and I need your help on the > following queries. > The result of search needs to show a summary based on a Field value. > One of the field in the search Document is "type" with some possible values

Grouping by field value

2007-10-08 Thread Cool Coder
Hello Gurus, I just started working on a lucene based project and I need your help on the following queries. The result of search needs to show a summary based on a Field value. One of the field in the search Document is "type" with some possible values like "good" , "bad", "bett