12-14-2011 01:12 AM
12-14-2011 03:25 AM
12-14-2011 04:37 AM
Hi,
I guess you you have to escape the first ":" if your're using lucene and not alfresco-fts:
–> @cm\:name:sanket'
Cheers, jan
12-14-2011 05:04 AM
12-14-2011 05:43 AM
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:sanket
perhaps you've to escape some chars like @\{http\://www.alfresco.org/model/content/1.0\}name:sanket
That is only a quick hack, you cannot execute this query from alfresco!
Cheers, Jan
12-14-2011 05:58 AM
12-14-2011 07:01 AM
Hi,
just enable debug logging in log4j.properties:
log4j.logger.org.alfresco.repo.search.impl.solr.SolrQueryHTTPClient=debug
Cheers, Jan
12-14-2011 07:27 AM
12-14-2011 07:40 AM
12-15-2011 12:44 AM
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 msHi,
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
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.