On Dec 15, 2008, at 12:44 PM, Chris Bamford wrote:
One question (thinking ahead now): how to differentiate between content and reference hits if they are retrieved from the same index? Presumably I will need to try to retrieve a field which only exists in one and if it fails, I know it must be of the other type?
Simply have a type field on all documents that is assigned one of two string (non-tokenized) values: content and reference.
Erik --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org