Re: Search on all fields and know in which field was the match

2009-04-20 Thread Rui Carneiro
On Tue, Apr 14, 2009 at 9:54 PM, Chris Hostetter wrote: > one option is to index each attachemnt as it's own document *in addition* > to indexing each email will all of hte attachment text in a single > "atachments" field. that way you can search for all emails where "Bob" is > mentioned in an at

Re: Search on all fields and know in which field was the match

2009-04-14 Thread Chris Hostetter
: With this structure i think (correct me if i am wrong) i cant search for all : attachBody_* and know where the match was (attachBody_1, _2, _3, etc). correct : I really don't know if this is the best approach so any help would be : appreciated. one option is to index each attachemnt as it's

Search on all fields and know in which field was the match

2009-04-02 Thread Rui Carneiro
Hi all, I am brand new with Solr and i have a pretty big problem to solve. I need to index some e-mails (from Dovecot) and their attachments. The index's structure i was thinking is: Note: Only the last 2 fields are relevant to this problem. W