Re: Single multilingual field analyzed based on other field values

2013-12-19 Thread Trey Grainger
Hi Dave, Sorry for the delayed reply. Did you end up trying the (scary) caching idea? Yeah, there's no reasonable way today to access data from other fields from the document in the analyzers. Creating an update request processor which pulls the data prior to the field-by-field analysis and inj

Re: Single multilingual field analyzed based on other field values

2013-10-29 Thread davetroiano
Hi Trey, I was reading v9 of the Solr in Action MEAP but browsing your github repo, so I think I'm looking at the latest stuff. Agreed that the thread caching idea is dangerous. Perhaps it would work now, but it could easily break in a later version of Solr. I didn't mention another reason why

Re: Single multilingual field analyzed based on other field values

2013-10-28 Thread Trey Grainger
Hi David, What version of the Solr in Action MEAP are you looking at (current version is 12, and version 13 is coming out later this week, and prior versions had significant bugs in the code you are referencing)? I added an update processor in the most recent version that can do language identifi

Re: Single multilingual field analyzed based on other field values

2013-10-28 Thread Jack Krupansky
Consider an update processor - it can operate on any field and has access to all fields. You could have one update processor to combine all the fields to process, into a temporary, dummy field. Then run a language detection update processor on the combined field. Then process the results and p