CQ's built-in search requires jcr:content nodes?

I'd like to build my data model within CQ5 while at the same time using CQ5's built-in search.  It seems I must 'inflate' my data model with unnecessary  jcr:content nodes in order to do so.
This is what I'd like:
/content/myapp/data/recipes [myapp:recipeList]
/content/myapp/data/recipes/recipe1 [myapp:recipe]
/content/myapp/data/recipes/recipe2 [myapp:recipe]
/content/myapp/data/categories [myapp:categoryList]
/content/myapp/data/categories/Thai [myapp:recipe_category]
/content/myapp/data/categories/Indian [myapp:recipe_category]
/content/myapp/data/categories/Vegan [myapp:recipe_category]
In this 'reduced' model, all my properties can be added to my child nodes.  Seems to be searchable though:
- *List nodes must extend cq:page
- the recipe and category nodes must be nested within a jcr:content node
- the recipe and category nodes must extend cq:page instead of nt:unstructured
- the recipe properties must be nested within yet another layer of jcr:content nodes
/content/myapp/data/recipes [myapp:recipeList]
/content/myapp/data/recipes/jcr:content/recipe1 [myapp:recipe]
/content/myapp/data/recipes/jcr:content/recipe2 [myapp:recipe]
/content/myapp/data/recipes/jcr:content/recipe1/jcr:content/recipeproperties [myapp:recipeprops]
/content/myapp/data/recipes/jcr:content/recipe2/jcr:content/recipeproperties [myapp:recipeprops]
/content/myapp/data/categories [myapp:categoryList]
/content/myapp/data/categories/jcr:content/Thai [myapp:recipe_category]
/content/myapp/data/categories/jcr:content/Indian [myapp:recipe_category]
/content/myapp/data/categories/jcr:content/Vegan [myapp:recipe_category]
What value do I obtain from adding all the extra jcr:content nodes?

Ideally, the model above would 'cleaner' like the example described in this CRX tutorial: http://dev.day.com/docs/en/crx/current/developing/data_modeling.html#The%2520Repository%25 20Model

Similar Messages

  • Jcr:content not getting replaced by _jcr_content

    Hi,
    we have a problem with some image paths rendered in the markup which points to a specific image rendition, i.e the "jcr:content" node is a part of the path. For some of the image paths, "jcr:content" is not getting replaced by "_jcr_content" causing the dispatcher to reply with 403 responses for theses images since ':' is a reserved character. We also see different behaviour in different environments (test vs prod).
    Anybody who has an idea why this happens for some images?
    Thanks,
    Joakim

    Some time disabling namespace mangling under sling resource resolver can cause this as well.

  • Why is RoboHelp not displaying the required data content of .chm when linked as Help in my App ?

    Gorgeous Hello All,
    Has anyone encountered the below-said show- stopper. Another BIG TIME help required, will help me in tremendous fashion.
    Am using Adobe RoboHelp, Version 10 and IE version being 10.
    In my local machine :
    1.)I have completed my technical writing courtesy Design editor
    2.)Generating chm File : View -> Pods –> Single Source Layouts -> Right Click on Microsoft HTML Help -> Tagged Set as Primary Layout
    3.)Generating Primary Layout : File -> Generate -> Primary Layout (Microsoft HTML Help)…
    4.)Viewing Primary Layout : File -> View -> Primary Layout
    Everything works FANTASTICALLY till here with the required output (as Hide, Back, Refresh, Home, Print, Options, Contents, Index, Search, Glossary and with the data contents)
    Show Stopper, At my Application Server :
    5.)I copy the entire robohelp project folder from my local machine to my application Server path
    6.)My Application has been developed in ASP .NET, Version 4.0.
    7.)Help link has been created in this application wherein here the file name of < >.chm has been linked in the code to be read from the  Server’s RoboHelp project folder\!SSL!\ Microsoft_HTML_Help\
    8.)I login into my above-said application -> click on the Help page -> Displays the required structure /buttons as Hide, Back, Refresh, Home, Print, Options, Contents, Index, Search, Glossary
    a.)Clicking on any of the Books or Topics appearing beneath Contents : The System prompts out with error cautionary message called “ Navigation to the webpage was cancelled. What you can try: Retype the address ”
    *** This is a huge SHOW-STOPPER. I spent plenty of hours on this, but unable to deciper with a solution at all) ***
    ( Note : Am able to directly open and read the required data contents by Clicking on any of the Books or Topics appearing beneath Contents from Server’s RoboHelp project folder\!SSL!\ Microsoft_HTML_Help\ < >.chm )
    Why is the RoboHelp not displaying the required data contents of <>.chm when linked as Help in my Application ?
    Cheese – Vipin Nambiar

    If you looked at the error message and searched the forum, you should find the answer as this is a problem that started in 2005. You should not run CHM files from a server and cannot without editing the users registry. See the page below.
    http://www.grainge.org/pages/authoring/chm_mspatch/896358.htm
    All along your questions have been based on webhelp, why suddenly are we going go CHMs.
    See Snippets on my site for the correct form of help to use in different scenarios.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Search Service for Content Server Items

    Does Plumtree EDK provide any API to develop search service to search into specific Content Server items as it provides to search within a specific folder of Knowldege Directory

    Vivekvp wrote:
    Or can someone explain to me what the Search Service does. Before 10.3.0 I think it was integrated with the search.The Collab Admin: Search Service page has a button that allows you to rebuild your search collection.
    It shows you the uptime, your install directory, the number of objects indexed and the number pending index requests.
    "A rebuild resubmits every item in the database to the Search Service. This procedure is useful in two situations. It can be used to load all data in the database into an empty, freshly installed Search Service. It can also be used to replace the contents of an existing search collection in the unlikely event that it has become corrupted. Note: This operation can be lengthy and computationally expensive and should only be performed if necessary. "
    Wish I could be of more help.
    Our index has 25.2k files and it took about 5 seconds for the page to load for me - I thought it might timeout too!
    Best of luck.
    Geoff

  • Wildcard Search requirement for Items description and BP Name

    Hi Friends,
    I want to know is there any feature in Item Master data or Business Partner Master Data in which search is done by putting middle or last name. For example the Item Name is Electric Motar 345 Gear
    and when the user wants to search it by say Motar 345 then all items which inclused Motar 345 should come highlighted.
    Same for BP also its required as BP name is Glem Tex Japan Pvt Limited and now user wants to search the BP by say Tex Japan and all BP which includes the word Tex Japan should come.
    Is there any possibilities by which this can be achieved. Its somewhat wildcard search required. I heared its possible in B1.
    Regards,
    Kamlesh Gupta

    Dear Sridharan,
    I have exactly put the same as 'Motar 345 after Opening the Item Master Data and in find mode pressed * Enter and put the above in Find and selected Item Description. But sorry to say that nothing is coming and the cursor goes in the last item master data.
    What might be the problem can you please tell me.
    Regards,
    Kamlesh Gupta

  • Search error in Content server

    Hi All,
    We have Migrated documents from IPM 10 g to IPM 11g.
    Now currently we are working in Production environment.
    But whenever I search for documents in UCM I am getting Following error
    Unable to retrieve search results. Error occurred while processing. Unable to return results. Unable to create the result set for query 'SELECT Revisions.dID, dDocTitle, dDocType, dRevisionID, dSecurityGroup, dDocAuthor, dDocAccount, dRevLabel, dFormat, dOriginalName, dExtension, dWebExtension, dInDate, dOutDate, dCreateDate, dPublishType, dRendition1, dRendition2, dFileSize AS VaultFileSize, DocMeta.*, RevClasses.* FROM Revisions, DocMeta, Documents, RevClasses
    WHERE Revisions.dID=DocMeta.dID And Revisions.dID=Documents.dID And Revisions.dDocName = RevClasses.dDocName And dIsPrimary = 1 And dReleaseState IN ('Y', 'U', 'I') ORDER BY dInDate Desc'. [FMWGEN][SQLServer JDBC Driver]Execution timeout expired. java.sql.SQLTimeoutException: [FMWGEN][SQLServer JDBC Driver]Execution timeout expired..
    Please somebody help me..
    Thanks in advance
    vikas

    Srinath Menon wrote:SELECT Revisions.dID, dDocTitle, dDocType, dRevisionID, dSecurityGroup, dDocAuthor, dDocAccount, dRevLabel, dFormat, dOriginalName, dExtension, dWebExtension, dInDate, dOutDate, dCreateDate, dPublishType, dRendition1, dRendition2, dFileSize AS VaultFileSize, DocMeta., RevClasses. FROM Revisions, DocMeta, Documents, RevClassesWHERE Revisions.dID=DocMeta.dID And Revisions.dID=Documents.dID And Revisions.dDocName = RevClasses.dDocName And dIsPrimary = 1 And dReleaseState IN ('Y', 'U', 'I') ORDER BY dInDate Desc
    Execute the above query on the DB directly and see if that brings up the results .>
    It looks like you may not have followed Srinath's instructions exactly. You edited your query to include a schema namespace, which defeats the purpose of running the query that the system is actually attempting to execute. Please run the exact query that was requested, since that's the query the system is actually running.
    If you run the query as posted in the original error (and included in Srinath's request), I would expect it to fail, as it appears to be malformed (see "DocMeta., RevClasses."). The trailing dots are probably the issue, and they shouldn't be there.
    If you cannot execute a search directly in the Content Server interface successfully, please post which search engine is being used. The query above is actually part of a query called a datasource. This particular datasource has been used for many years and is quite stable. I'd imagine that something else (like a customization or some other productized component) is the culprit, especially if the standard search within the Content Server itself is no longer working.

  • How do you search for file content in Mountain Lion?

    I recently upgrade my MacBook Pro to Mountain Lion. I used to use spotlight to search for specific content within files before the upgrade. Now spotlight is only giving me file names and won't allow me to search for content within the files, even if I used quotations in my search. Is this just a glich on my computer or is there something I need to reset? Thanks!

    Try rebuilding the Spotlight index.  Go into the Spotlight privacy pane, and then add your hard drive to the "privacy" section.  This will erase its index.  Then remove your hard drive from the index and Spotlight will rebuild  the index.  It will take an hour or two.

  • Problems with the Search for room content

    Hi,
    I face a problem configuring the search for room content using KM search iView (com.sap.km.Search).
    I found the chapter Configuring the Search for Room Content in the help. So I set up the following things :
    1- I assign the room_id iView parameter to the roomid room parameter (in the template)
    2- I added room_cm_search component to the component set (I added it at the bottom of the "component for basic search function")
    3- I select the entry "Folder" as the default search scope in the search option set. I specify a root folder for search as well.
    But it doesn't work properly. It always returns "no result found". And if I add the room_cm_search component at the top of the "component for basic search function", It runs the search on all the documents of the default search scope, and not only on the room documents.
    Can you please tell me the right way to configure the search for room content using the com.sap.km.Search iView ?
    I work on EP 7.0 SP 10.
    Thanks a lot,
    Loïc LEVEUGLE

    Hi Loic,
    the Room Content Search iView is a special Search iView that is filtering for documents that were created in the Room Context (all documents get a specific metadata that is keeping the roomiD) . The easiest thing is to use the standard iView used for the delivered templates from SAP.
    I would advise to use the iView that is already preconfigured for a room template or part template and can be found and referenced in your template from the following path: Portal Content ->com.sap.ip.collaboration--> TemplateAndPartContent --> Generic -->iViews and take the iView "Search Room"
    If you reference that iView in your room template or room part template, you have to think about the correct configuration in the template configuration iView. Just take as example the configuration of the part template "SAP Search Room".
    Or even better: Copy a template (room or part) from SAP that is containing the Room Search and delete everything what you don´t need out of the template. You safe time and you can add all additional content you´ll need to your template. Some ideas can be found in the following "How to Guide":
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0496f69-cb70-2910-21a6-c4cf2cc66311
    What you have written under 3 -> would never work as the root folder for search doesn´t make any sense as the documents of a room are stored in different folders and you can´t define a root folder. Therefor you have the specific room_id parameter that is filtering what documents belong to the room.
    Good luck,
    Anja

  • Apple Removed Mail Search by Message Content in Lion 10.7.2

    Just got off the phone with Apple Support. As usual, they are very helpful. However, I was disappointed to learn that Apple silently removed the ability to search mail by content in the latest update to OSX.
    I have OSX Lion 10.7.2, and when I type anything into the search field in Mac Mail (or, interestingly, onwww.me.com), there are options to search only by subject or sender or recipient, not by message content as there used to be.
    According to Emily at Apple Support, Apple intentionally removed the search by content feature because "it wasn't working right". They are or MAY be working to add it back in to the next update. No commitments.
    Sadly, there was no mention of this DOWNGRADE at the time I installed 10.7.2. And, the knowledge base article herehttp://support.apple.com/kb/DL1458 makes no mention of Mail changes either.
    Sad. Confused. And a little bit angry. Apple can and should do better.

    Sad. Confused. And a little bit angry. Apple can and should do better.
    Well, I agree with #2 out of 4.
    I have no problems searching by content in OS 10.7.2. As Barney says, it's the default search state now.

  • IFS Search on File Content problem

    When I do "Search on Document Content" I never get any results back - no error msgs of any kind, just no results. Intermedia is installed and was found ok on the IFS install. All other searches work ok. I am running IFS 1.1.9, Oracle 8.1.7 on Windows 2000. I am grasping at straws and looking for suggestions... Any help or ideas appreciated.
    Mike

    Are you running the Context server (ctxsrv) ?
    That is the server used to index text.
    If ctxsrv has not created index, search won't find results.

  • Searching multi-media content in IFS

    Is it possible to search multi-media content
    in IFS? For example:
    "Find all audio clips with a trumpet in it",
    or - "Find all video clips with whales in it"??
    Any help in answering this would be greatly appreciated.
    thanks,
    dw

    (Hey, here's proof that I really do search the archives before posting. :-))
    Moments ago, I was asked ...
    Do you know if Oracle UCM has the capability to do speech recognition & transcription of audio and video files, and then make that transcription searchable?
    So somebody checks in a piece of video, which presumably passes through FlipFactory on a refinery: can FlipFactory do anything fancy with the audio portion?
    Likewise, if someone checks in an MP3 file, has anyone figured out how to get the content server to pass it through speech recognition and index the result?
    My gut call would be to start out by passing, say, an MP3 file through some speech recognition software that produces an N%-accurate text file (before working with the content server). Then one approach would be to checkin in the MP3 & text file as the primary & alternate files respectively for a new content item: the content server would then index the alternate file, would it not? Another approach would be to create a folio of these two separate items.
    Perhaps searching the recognized speech of a video clip could work in a similar fashion?
    How did you solve this issue? :-)
    Thanks!
    Don
    Edited by: user10524502 on Apr 30, 2009 9:59 AM

  • How to make Android's built in search bar invoke Firefox for Android?

    Firefox for Android is already my default browser, yet Android's built in search widget that seems to be on the home screen when any Android phone is unboxed is still invoking the default browser. An other thing to note is my phone has Android 4.1 and came with chrome preinstalled yet the old default browser that came with older versions of Android also came preinstalled, and was the original default browser on my phone, not chrome as my reading of recent web chatter had led me believe.

    Yeah my phone is too cheap for anyone to want to spend the time to develop a rooting method I tried moding some exploits and running them through SuperOneClick and similar tools and even tried manually through the android developer's tool kit, and ssh-ing into my phone to no avail so moding some code and making a custom img is kinda outta the question plus my c++ is rusty and would only be suitable for command line apps also I'm betting the source for Google's search bar is closed, further more it's probably in Java, I'm more of a web dev now-a-days... I'd have a better chance with JS. I'll bet you're right though. I'm still gonna leave this open for a day or so though just to see if anything pans out. Thank you for your reply though.

  • People Search requirement in Sharepoint 2013

    Hello Everyone
    In user profile services, I have created connection, which synchronize the Active directory data to sharepoint.
    Then I have done full synchronization. I created enterprise search center site, when i type user name in search, nothing comes up.
    Does people search requires to create mysite for all users?
    Thanks

    Hi Swetha,
    Yes, you are right.
    On people search results page, when we click the user picture, it will redirect to its personal page. So people search does
    not require my site, but when you click the user, it’s trying to access the my site.
    Best Regards.
    Kelly Chen
    TechNet Community Support

  • Remove built-in search-engines in Firefox Nightly

    I don't use the default Firefox search-engines, so I like to be able to delete all the Amazon, Twitter, Google nativelly installed on every Firefox version. Using current and beta version of Firefox, I am able to remove built-in search-engines on the Android version, simply from the add-ons manager and disable the search-engine.
    However, on the last Nightly build, the search-engines can not be found in the add-ons manager. My phone is not rooted, so I'm not able to directly set the search-engines list by editing the files or removing it through the search-engines list. Can't find a property in `about:config` either...

    The root solution is useful but not everybody is root and this search engines re-ordering function seems to be pretty basic. However, I'm sure there is a lot of reasons for having remove it since pas versions.

  • Content node name problem during creation on portal 9.2 cm filesystem repo

    Hi all,
    We are developing a portal site using weblogic portal server 9.2.
    We are using the portal built-in content management system of the portal admin app. And We use the filesystem repository (with library service disabled) to store our content data by following the setup on documentatation.
    We use the create_db.cmd script to create the cms tables in a oracle database. The input contents' binary files and metadata are successfully stored in the filesystem directory and database correspondingly.
    However, we encountered some bugs/unexpected behaviour on creating/uploading binary data when using the content creation form.
    The problem is that when we try to create a content with one (required and primary) binary property, the node name of the new content does not always follow the name input by the user. The content node name will changed according to the uploaded file or the binary property name defined in content type, which are unexpected behaviour. In fact, we expect the node name stay as the same (with extension padded) of what user input on creating it and the property's filename should use this name.
    When we use the WYSIWYG editor to create the document of the binary property, after saving the document, the filename of this binary property automatically changed to the content type's property name, after clicking save button on the content, the node name of the content changed to the content type's property name too!
    When we upload file for this binary property, the property 's filename changed to the uploaded file's filename, and changing the node name of that content too!
    We would like to know what would cause this kind of misbehaviour/bug,
    could it be caused by misconfiguration on server? the filesystem repository? the database scheme?
    Any helps or suggestions on it would be greatly appreciated.
    Best Regards,
    Keaton

    Thanks for the reply jalpesh, you answered the filename on file upload method.
    But what about the filename changes due to create document (WYSIWYG editor) method. The content filename changed to the property-name.ext about saving the content, which is quite a strange behaviour. As the user will not be able to add the same type of content on current directory cause the content filename follow the property-name.ext and cause same filename conflicts when saving.
    We are using the weblogic portal server 9.2 MP 2 with oracle database (bea type 4 connection driver).
    Any advices or suggestions?
    Regards,
    Keaton

Maybe you are looking for

  • Oracle Performance Issue

    Hardware Configuration: Regarding Oracle Performance Issue. Configuration 1 ================ SunV880 - Sunfire 32 GB RAM 14 numbers of 36GB hard disk 8 CPUs CPU Speed 750MZ. Software Configuration: Oracle 8i OS version - Solaris 8 Customized our own

  • Chrome crashes when I plug in USB hub

    Hello all, For the last several months, Chrome (and other apps, such as Photoshop and Safari) has crashed every time I plug in my USB Hub. Plugged into the USB hub are my printer, apple keyboard, audio interface, and iLok key. I'll attach the crash r

  • I need advice to decide if I accept taking a project or not

    Hi, I have to make the decision if I take a project or not. I have worked with LabVIEW for less than a year. I'm a CLAD but I only have experience in one project, which involved only using modbus tcp to communicate with a controller, so I don't have

  • Clamshell iBook Lime Airport Problems

    I have posted some questions here and there on this board and gotten some great help. Thanks all! My problem seems to boil down to my iBook motherboard! It has been working fine all these years (original owner), but when I put in an Airport Card (802

  • Beyond kernel? [sovled]

    I was interested in using gensplash, and I noticed that the beyond kernel already had this patch.  At the time of this posting I can not find the beyond kernel in the database.  Is not intuitively named?