You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by glenne <gl...@zoosk.com> on 2011/12/07 02:39:09 UTC

how would you implement an updateable field circa 2011?

A couple of years back, there was talk in the solr - user forum about a 
http://lucene.472066.n3.nabble.com/correct-impossible-to-filter-facet-on-ExternalFileField-tt498170.html#a498171
proposed updateable field  for an external data store that could affect the
filtered results. Field types such as ExternalFileField are useful only in
function queries which are good for sorting but not filtering.

If you had to go about implementing such a feature, then how would you do
that today? Would you provide your own custom IndexReaderFactory that would
know to go to the external data source for any updateable fields in the
document?

I ask because one of the fields in my schema has a really short shelf live
while the rest have relatively long shelf life. I would prefer to enjoy the
performance benefits of a long polling interval and would not mind pulling
this one field (a boolean) from some external caching system such as
ehcache.

--
View this message in context: http://lucene.472066.n3.nabble.com/how-would-you-implement-an-updateable-field-circa-2011-tp3566192p3566192.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org