11-11-2011 01:09 AM
{
"responseHeader":{
"status":0,
"QTime":15,
"params":{
"indent":"on",
"start":"0",
"q":"*:*",
"rows":"10",
"version":"2.2"}},
"response":{"numFound":1658,"start":0,"docs":[
{
"INACLTXID":["1"],
"ACLID":["1"],
"ID":["ACL-1"]},
{
"INACLTXID":["1"],
"ACLID":["2"],
"ID":["ACL-2"]},
{
"INACLTXID":["1"],
"ACLTXCOMMITTIME":["1320818862645"],
"ACLTXID":["1"],
"ID":["ACLTX-1"]},
{
"INACLTXID":["2"],
"ACLID":["3"],
"ID":["ACL-3"]},
{
"INACLTXID":["2"],
"ACLID":["4"],
"ID":["ACL-4"]},
{
"INACLTXID":["2"],
"ACLTXCOMMITTIME":["1320818862942"],
"ACLTXID":["2"],
"ID":["ACLTX-2"]},
{
"INACLTXID":["3"],
"READER":["GROUP_EVERYONE"],
"ACLID":["5"],
"ID":["ACL-5"]},
{
"INACLTXID":["3"],
"ACLTXCOMMITTIME":["1320818863113"],
"ACLTXID":["3"],
"ID":["ACLTX-3"]},
{
"INACLTXID":["4"],
"READER":["GROUP_EVERYONE"],
"ACLID":["6"],
"ID":["ACL-6"]},
{
"INACLTXID":["4"],
"ACLTXCOMMITTIME":["1320818863145"],
"ACLTXID":["4"],
"ID":["ACLTX-4"]}]
}}
Thank you.
12-15-2011 12:57 AM
12-15-2011 01:43 AM
Hello!!!
I was install Alfresco 4.0b and uploaded a few files(with .txt extension) through the Share. After that a was opened Solr admin at this URL http:\\localhost:8888\solr\alfresco\admin. Then I typed my query(for example - " @cm\:name:"green banana"") in the query field. I know - this file in Alfresco Share, i see him) But this query returned 0 documents. I think this is due to the fact that he was looking at some other location, not in Alfresco Repository.How can I ensure that my query returns a found documents downloaded from Alfresco Share?
P.S. If i type in query field this query "*:*", its returned next jsonThank you.
{
"responseHeader":{
"status":0,
"QTime":15,
"params":{
"indent":"on",
"start":"0",
"q":"*:*",
"rows":"10",
"version":"2.2"}},
"response":{"numFound":1658,"start":0,"docs":[
{
"INACLTXID":["1"],
"ACLID":["1"],
"ID":["ACL-1"]},
{
"INACLTXID":["1"],
"ACLID":["2"],
"ID":["ACL-2"]},
{
"INACLTXID":["1"],
"ACLTXCOMMITTIME":["1320818862645"],
"ACLTXID":["1"],
"ID":["ACLTX-1"]},
{
"INACLTXID":["2"],
"ACLID":["3"],
"ID":["ACL-3"]},
{
"INACLTXID":["2"],
"ACLID":["4"],
"ID":["ACL-4"]},
{
"INACLTXID":["2"],
"ACLTXCOMMITTIME":["1320818862942"],
"ACLTXID":["2"],
"ID":["ACLTX-2"]},
{
"INACLTXID":["3"],
"READER":["GROUP_EVERYONE"],
"ACLID":["5"],
"ID":["ACL-5"]},
{
"INACLTXID":["3"],
"ACLTXCOMMITTIME":["1320818863113"],
"ACLTXID":["3"],
"ID":["ACLTX-3"]},
{
"INACLTXID":["4"],
"READER":["GROUP_EVERYONE"],
"ACLID":["6"],
"ID":["ACL-6"]},
{
"INACLTXID":["4"],
"ACLTXCOMMITTIME":["1320818863145"],
"ACLTXID":["4"],
"ID":["ACLTX-4"]}]
}}
12-15-2011 03:43 AM
@cm\:name:"tes*"
Hope this helps.
12-16-2011 01:03 AM
{
"responseHeader":{
"status":0,
"QTime":0,
"params":{
"indent":"on",
"start":"0",
"q":"@cm\\:name:\"tes*\"",
"rows":"10",
"version":"2.2"}},
"response":{"numFound":0,"start":0,"docs":[]
}}
Have you tried to execute the following query?Hope this helps.
@cm\:name:"tes*"
12-16-2011 03:22 AM
@\{http\://www.alfresco.org/model/content/1.0\}name:test
…I'm not sure about the escape chars "\"…12-16-2011 04:56 AM
you cannot directly executean Alfresco lucene/afts query string using default solr query component (via solr admin interface).
12-16-2011 09:27 AM
12-17-2011 04:40 AM
You can query Alfresco's solr index directly, but normally you shouldn't.
04-03-2012 03:25 AM
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.