I work on a project. I want to use mysql for storage all data and solr for search only a string in database. Is it possible ?
Yes, it's relatively easy. You should look at:
and:
http://wiki.apache.org/solr/DIHQuickStart
A quick google and I found this gist:
https://gist.github.com/maxivak/3e3ee1fca32f3949f052
which looks pretty reasonable.
I had used it in my application. Only difference is... I have used Oracle database. For more information check this blog
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.