Re: Looking for tips on indexing documents containing multi-valued tuple fields

2013-02-26 Thread Timothy Potter
Ok - I suspected grouping by company_name was too obvious here ;-) A couple of tricks to think about (not claiming any of these will help) are: 1) Document transformer - you can return any company fields you need in the response from a database lookup using a Document transformer. This lets you a

Re: Looking for tips on indexing documents containing multi-valued tuple fields

2013-02-26 Thread Clint Miller
Tim, thanks for the response. I definitely owe you a beer next time you're in Austin. I hadn't thought of your approach of turning things around. But, I don't think it will work because of some stuff I left out in my original email. First, the relationship between Company and Article is many-to-ma

Re: Looking for tips on indexing documents containing multi-valued tuple fields

2013-02-26 Thread Timothy Potter
Hi Clint, Nice to see you on this list! What about treating each article as the indexed unit (i.e. each article is a document) with structure: articleID publishDate source company_name company_desc contents Then you can do grouping by company_name field. I happen to know you're very familiar w