filter.addContains("myproject:title", "model-test"); this does not work i get the result of 0 results, this is strange i expected 3 results.
How can i fix this?
Any suggestions or idea's?
Thanks for your time and effort in advance.
Regards,
Arsdeep
--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
To post to this group, send email to hippo-c...@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-communi...@googlegroups.com.
Visit this group at http://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.
final String test = SearchInputParsingUtils.parse("model-test", false);
filter.addContains("myproject:title", test);
No results either.
The latter I indeed expect to fail, see my comments on [1].So in your repository servlet query, you don't escape the '-'?Tobi
On Wed, Aug 5, 2015 at 10:37 AM, arsdeep.singh <arsdee...@incentro.com> wrote:
Hi,If i debug the query is what i expected.If i search in the Repository servlet with the xpath:
content/documents/myproject/test-folder//*[@myproject:title='model-test' and @hippo:availability = 'live']