Powered By Blogger

Tuesday, February 12, 2013

Tuesday, February 5, 2013

Solr with Alfresco

While debugging search results we need to access the url
1. http://100.6.17.30:8080/solr/
2Select admin core
3.The value entered in the query will be used to search
4. SInce alfresco has done some customisations below things should be used


http://100.6.17.30:8080/solr/alfresco/afts?q=@cm\name:alfresco&version=2.2&start=0&rows=10&indent=on


Passing query

http://100.6.17.30:8080/solr/alfresco/afts?q=@cm\:name:alfresco&version=2.2&start=0&rows=10&indent=on

http://100.6.17.30:8080/solr/alfresco/afts?q=TEXT:de*&version=2.2&start=0&rows=10&indent=on

http://100.6.17.30:8080/solr/alfresco/afts?q=TEXT:a*&version=2.2&start=0&rows=1000&indent=on


http://100.6.17.30:8080/solr/alfresco/afts?indent=on&version=2.2&q=%40cm%5C%3Aname%3Aalfresco&fq=&start=0&rows=10&fl=*%2Cscore&qt=standard&wt=standard&explainOther=&hl.fl=


To Search t* across all the sites
((PATH:"/app:company_home/st:sites/*/*//*" AND (TYPE:"cm:content" AND (t* )) ) AND -TYPE:"cm:thumbnail" AND -TYPE:"cm:failedThumbnail" AND -TYPE:"cm:rating") AND NOT ASPECT:"sys:hidden"

http://100.6.17.30:8080/solr/alfresco/alfresco?indent=on&version=2.2&q=%28%28PATH%3A%22%2Fapp%3Acompany_home%2Fst%3Asites%2F*%2F*%2F%2F*%22+AND+%28TYPE%3A%22cm%3Acontent%22+AND+%28t*+%29%29+%29+AND+-TYPE%3A%22cm%3Athumbnail%22+AND+-TYPE%3A%22cm%3AfailedThumbnail%22+AND+-TYPE%3A%22cm%3Arating%22%29+AND+NOT+ASPECT%3A%22sys%3Ahidden%22&fq=&start=0&rows=2000&fl=*%2Cscore&qt=standard&wt=standard&explainOther=&hl.fl=