> Can you describe your indexing process a bit more?  Do you 
> just have one or two tokens that you have "translate" or is 
> it that you are going to query on every token in your text?  
> I just don't see how that will perform at all to look up 
> every token in some index, so maybe if we have some more 
> info, something more obvious will arise.

It's a recursive problem.  Given a user-entered place name like "Salem,
Oregon", you work from right to left, first looking up Oregon, which returns
places like the state of Oregon and also Oregon County, Missouri.  You then
look for places named Salem located in the places returned by the first
query.  This approach finds "Atlanta, Georgia" as well as "Gori, Georgia" (a
city in the Republic of Georgia).  I've already written an efficient lookup
function.  I just don't know how to call it during analysis because I don't
know how to access an instance of SolrCore from within a token filter
object.

-dallan

Reply via email to