I have created a repository with 15 different docs. I try to search the repository using the following snippet. The repository has a folder with 15 documents. (Very small)
1. The query fetches all the documents available in the repository, for the query *a*. Is this the expected behavior? The time taken to print the results was close to six seconds.
2. The query takes a lot of time to return results. What are the parameters to control the search time?
3. I doubt if the document contents are indexed. How to ensure that the contents are indexed?
4. For most of the queries with the generic expression //*[contains('*a*')] fetches some JS files, pdfs etc.. which i have not added into the repository, are returned. Please note that 'matterNodeRef' used in the above snippet is pointing to the folder node directly. But the query returned contains many nodes that are outside the nodeRef.
Also I tried creating a custom content model. Again it gave this message.
Does this message have something to do with the mime type of the content? Does passing a ByteArrayInputStream object to a cm:content node creates a problem?
Also I tried creating a custom repository. Again it gave this message.
Please reply my post… I need to resolve this as soon as possible…