lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject RE: solr plug-in - external document store
Date Wed, 06 Feb 2008 20:57:57 GMT

: how do include extra fields in documents that get rendered by the
: SolrQueryResponse?
: 
: do I need to recreate the DocList?

i'm kind of out of hte loop on this, but i'm pretty sure there is an open 
issue relating to trying to abstract this so that plugins can "mask" a 
DocList to add external fields (and things like it) and then leverage any 
ResponseWriter ... but i'm not sure off the top of my head which issue is 
dealing with this (there's a lot of "big" issues going on right now that 
all might relate: distributed search being the one i suspect is most 
involved)

oh wait ... did you see this from Ryan earlier in the thread...

: > > On the search/retrieval side, you will probably want to implement a 
: > > SearchComponent to fill in the stored fields:
: > >   http://wiki.apache.org/solr/SearchComponent  (wiki page
: > > *way* out of date)

...i think he's suggesting a Component that comes after the query which 
knows how to fetch your external data and then just addds fields directly 
to the Document objects (i'm not sure i'm a fan of that idea 
... there's the documentCache to consider ... i suppose if you 
*always* set the values you don't have to worry about old data in the 
documentCache)



-Hoss


Mime
View raw message