How to limit result rows by field types?

2010-11-16 Thread Peter Wang
Hi, all. I am using solr running multiple indexes, by Flattening Data Into a Single Index [1]. A type field in schema to stand for type of document, say it has following options: book, movie, music When query it, some types may have more result rows than others, for example, we need 3 result ro

Re: How to limit result rows by field types?

2010-11-16 Thread Peter Wang
Peter Wang writes: reply myself I find a PPT[1] about solr, it call such thing as "Field Collapsing" . It will be added to solr 1.5? unfortunately, I am using Solr 1.4 for solr 1.4, is there other solutions for such task? [1] http://lucene-eurocon.org/slides/Solr-15-and-Be

Re: How to limit result rows by field types?

2010-11-19 Thread Peter Wang
in trunk, so if you can use one of the nightly builds > you could start using it now, see: > https://hudson.apache.org/hudson/job/Solr-trunk/ > > <https://hudson.apache.org/hudson/job/Solr-trunk/>Best > Erick > > On Tue, Nov 16, 2010 at 9:30 PM, Peter Wang wrote: >