質問

Solr urldatasource does not have support for username and password. I want to access my data from SNOW server that has a basic authentication.How to do it?

I have tried http://username:password@domain.com. but this does not work I have read somewhere about tika but unable to find good documentaion for this problem.

役に立ちましたか?

解決

There is a patch available here for this purpose. It is probably outdated but you could port it to a newer version.

Or, as a second option, you can use java (or groovy or whatever) code and SorlJ api to get your data from the datasource and index it. If your scenario involves a lot of corner cases that would be the easiest in the end.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top