Re: How to group result when search on multiple fields

2011-01-28 Thread cyang2010
Some typo out there in my example: I mean the first 2 movies by angelina jolie. This is the correct example: result 1: <-- title match score: 1.0 title_name: tom's story actor: Angelina Jolie result 2: <-- title match score: 0.95 title_name: tom green's store actor: Angelina Jolie result

Re: How to group result when search on multiple fields

2011-01-28 Thread cyang2010
I don't think this field collapsing can simply solve my problem after second thought. As I mentioned, user only type in a search phrase, and click on search. Underlying that, the application logic is going to compose search query against multiple fields (title_name, actors, directors, ...) by th

Re: How to group result when search on multiple fields

2011-01-27 Thread Stefan Matheis
On Thu, Jan 27, 2011 at 1:25 AM, cyang2010 wrote: > > Is "Field Collapsing" a new feature for solr 4.0 (not yet released yet)? > > That's at least what the Wiki tells you, yes.

Re: How to group result when search on multiple fields

2011-01-26 Thread cyang2010
By taking a quick look, that field collapsing seem to be what i want. I am not sure what clusteringcomponent is still. I will look into more. Is "Field Collapsing" a new feature for solr 4.0 (not yet released yet)? If so, i will have to wait for it. Thanks for point it out! -- View this

Re: How to group result when search on multiple fields

2011-01-26 Thread Markus Jelsma
http://wiki.apache.org/solr/ClusteringComponent http://wiki.apache.org/solr/FieldCollapsing

Re: How to group result when search on multiple fields

2011-01-26 Thread cyang2010
Since it is a search applying for all fields, and the only result that require grouping is people (actors/directors), i am guessing this: 1. The search still queries single index. 2. there are two searches underlying. One for matching movie/tv name, genres name. The other one for top two matc

Re: How to group result when search on multiple fields

2011-01-26 Thread Dennis Gearon
Thsi is probably either 'shingling' or 'facets'. Someone more experienced can verify that or add more details. Dennis Gearon Signature Warning It is always a good idea to learn from your own mistakes. It is usually a better idea to learn from others’ mistakes, so you do not