No they are not compatible (out of the box).
But it is doable, at least it is with Solr 4.4.0 and 4.5.1, so I would guess with Solr 4.6.0 also.
General steps to make it work:
solr-web
- download latest solr-web plugin (source) for 6.1.x
- modify dependacies (see below)
- modify source files (resolve compilation errors)
- modify solr-spring.xml (if needed)
- modify schema.xml (look at both liferay's and solr version, and "merge" (what makes sense) them)
List of jars
- commons-codec-1.6.jar
- commons-io-2.1.jar
- httpclient-4.2.3.jar
- httpcore-4.2.2.jar
- httpmime-4.2.3.jar
- noggit-0.5.jar
- portal-compat-shared.jar
- slf4j-api-1.6.1.jar
- solr-solrj-4.5.1.jar
- wstx-asl-3.2.7.jar
- zookeeper-3.4.5.jar (probably could be removed, I did not)
Additional (provided) jars not packaged in war
- portal-service-6.1.1.jar
- util-java-6.1.1.jar
- servlet-api-2.5.jar
Specifically for CommonsHTTPSolrServer ClassNotFoundException
- in BasicAuthSolrServer constructor you should use HttpSolrServer, instead of CommonsHTTPSolrServer