문제

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