I believe we use an in-process weakhashmap to store the id-name
relationship. It's not that we're talking billions of values here.
For anything more mem-intensive we use no-sql (tokyo tyrant through
memcached protocol at the moment)

2010/7/24 Jonathan Rochkind <rochk...@jhu.edu>

> > Perhaps completely unnessecery when you have a controlled domain, but I
> > meant to use ids for places instead of names, because names will quickly
> > become ambiguous, e.g.: there are numerous different places over the
> world
> > called washington, etc.
>
> This is related to something I've been thinking about. Okay, say you use
> ID's instead of names. Now, you've got to translate those ID's to names
> before you display them, of course.
>
> One way to do that would be to keep the id-to-name lookup in some non-solr
> store (rdbms, or non-sql store)
>
> Is that what you'd do? Is there any non-crazy way to do that without an
> external store, just with solr?  Any way to do it with term payloads?
> Anything else?
>
> Jonathan

Reply via email to