Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have just started working on a few project which is to be built in v8. Shocking for me, a lot of things are gone and now I am stuck with mainly search feature.
I am trying to search for a specific document type within a specific parent node. Like usual query, I have created a query but it fails as I expect it take path as one value.
var query = searcher.CreateQuery("content").Field("path", categoryNodeId.);
I read a few articles where they are saying that wildcards cannot be used here.
Can anyone help me please in completing this query?
Thanks a lot
Resently I had similar requirement and I used the following query:
var query = searcher.CreateQuery("content").NodeTypeAlias("myDocType").And().ParentId(ParentId);
this might help
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted