As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Hi,I guess you you have to escape the first ":" if your're using lucene and not alfresco-fts:–> @cm\:name:sanket'Cheers, jan
Hi,You cannot run the query straight from https://localhost:8443/solr/alfresco/admin/ because you've to use the right query component (alfresco adds its own here).If you use the default one via the solr web interface you've to tweak your search expression…e.g. @{http://www.alfresco.org/model/content/1.0}name:sanketperhaps you've to escape some chars like @\{http\/www.alfresco.org/model/content/1.0\}name:sanketThat is only a quick hack, you cannot execute this query from alfresco!Cheers, Jan
Hi, just enable debug logging in log4j.properties:log4j.logger.org.alfresco.repo.search.impl.solr.SolrQueryHTTPClient=debugCheers, Jan
2011-12-15 11:00:40,433 DEBUG [impl.solr.SolrQueryHTTPClient] [http-8080-8] with: {"textAttributes":[],"allAttributes":[],"templates":[], brary//*\" +@cm\\:modified:[2011\\-12\\-8T00\\:00\\:00.000 TO 2011\\-12\\-15T23\\:59\\:59.999] +@cm\\:modifier:\"admin\" +TYPE:\"cm:content\" rum\" -TYPE:\"fm:topic\" -TYPE:\"fm:post\" +(TYPE:\"content\" OR TYPE:\"app:filelink\" OR TYPE:\"folder\")","locales":["en_US"],"defaultNamesp SFieldOperator":"OR","defaultFTSOperator":"OR","filter":"|AUTHORITY:\"GROUP_ALFRESCO_ADMINISTRATORS\" |AUTHORITY:\"GROUP_EMAIL_CONTRIBUTORS\" \" |AUTHORITY:\"GROUP_site_swsdp_SiteManager\" |AUTHORITY:\"ROLE_ADMINISTRATOR\" |AUTHORITY:\"ROLE_AUTHENTICATED\""} 2011-12-15 11:00:40,433 DEBUG [impl.solr.SolrQueryHTTPClient] [http-8080-8] Got: 1 in 1469 ms
Hi,your solr is up & running. But the question is if your alfresco-solr connection is working properly.if you activated solr as search subsytem (index.subsystem.name=solr), activated (log4j.logger.org.alfresco.repo.search.impl.solr.SolrQueryHTTPClient=debug) & execute a search in Share you should view some logs…jan