활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
Hello,
I have following configuration:
"jcr:primaryType":"oak:QueryIndexDefinition",
"compatVersion":2,
"name":"cq:Page",
"type":"lucene",
"async":"async",
"reindex":false,
"reindexCount":4,
"jcr:primaryType":"nt:unstructured",
"jcr:primaryType":"nt:unstructured",
"jcr:primaryType":"nt:unstructured",
"relativeNode":true,
"path":"jcr:content"
}
},
"jcr:primaryType":"nt:unstructured",
"jcr:primaryType":"nt:unstructured",
"relativeNode":false,
"path":"jcr:content"
}
},
"jcr:primaryType":"nt:unstructured",
"jcr:primaryType":"nt:unstructured",
"relativeNode":false,
"path":"*"
},
"jcr:primaryType":"nt:unstructured",
"relativeNode":false,
"path":"*/*"
},
"jcr:primaryType":"nt:unstructured",
"relativeNode":false,
"path":"*/*/*"
},
"jcr:primaryType":"nt:unstructured",
"relativeNode":false,
"path":"*/*/*/*"
}
}
},
"jcr:primaryType":"nt:unstructured",
"jcr:primaryType":"nt:unstructured",
"jcr:primaryType":"nt:unstructured",
"nodeScopeIndex":false,
"propertyIndex":false,
"analyze":false,
"name":"jcr:content/jcr:created",
"type":"Date",
"index":false,
"excludeFromAggregation":true
}
}
}
}
}
However when using search engine still matches with values which are under jcr:created. Is something wrong with this configuration?
It seems the OAK version is 1.2.2 (assumed from OSGi bundles) and AEM is 6.0.
By "search engine" are you referring to search query in AEM or some external search engine like google...?
조회 수
답글
좋아요 수
It is a custom component which executes JCR query built from PredicateGroup. PredicateGroup uses entered text as fulltext property and looks for results in cq:page types.
조회 수
답글
좋아요 수
If you have Oak 1.2.2 you are running AEM 6.1 without any service pack. You should change that.
What query do you want to improve with this index definition?
kind regards,
Jörg
조회 수
답글
좋아요 수
The problem is, I do not want to improve anything. I just would like not getting results where page is found as a search result when search text matches eg. milliseconds from cq:lastModified property.
조회 수
답글
좋아요 수
Hi,
ok, you do strange queries then 🙂
Anyway, for your index to get picked you need to explicitly exclude a match on jcr:Created; and even then I am not sure if the query engine can handle that.
조회 수
답글
좋아요 수
Hi,
I will explain once again what I would like to achieve beacuse I believe we don't undestand each other.
Right now I have configured jcr:created under cq:Page node to be indexed for search. If jcr:created contains eg: value: "123" and I type it in search box, I will get that specific page. I would rather like to exclude it from "contains" search if it is possible, so I will not get this particular page as a search result if search text matches with jcr:created node value.
조회 수
답글
좋아요 수