Re: SolrJ insert PDF for different language

2014-12-18 Thread Alexandre Rafalovitch
How do you _know_ when something is English or Spanish? You didn't describe your logic. Or do you need language auto-detect? One place you could start looking is UpdateRequestProcessors, they go between your handler's work and the schema level processing and you can insert auto-detect, field renam

SolrJ insert PDF for different language

2014-12-17 Thread Gabi
Following the sample in http://wiki.apache.org/solr/ContentStreamUpdateRequestExample I'm able to insert a PDF and search words, etc. ContentStreamUpdateRequest up = new ContentStreamUpdateRequest("/update/extract"); up.addFile(new