lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Yu" <ROBERT...@morningstar.com>
Subject split index horizontally
Date Fri, 30 Sep 2011 01:54:20 GMT
Is there a efficient way to handle my case?

Each document has several group fields, some of them are updated
frequently, some of them are updated infrequently. Is it possible to
maintain index based on groups but can search over all of them as ONE
index?

 

To some extent, it is a three layer of document (I think the current is
two layer):

document = {key: groups},...

groups = {group-name: fields},...

fields = {field-name: field-value},...

 

we can maintain index for each group, and can search it like below:

               query: group-name-1:field-1:val-1 AND (
group-name-2:field-2:val-2 OR group-name-3:field-3:[min-3 TO max-3])

               return data:
group-name-1:field-1,field-2;groupd-name-2:field-3,field-4,...

 

Thanks,

Robert Yu

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message