2

I am using Item Query to get featured Items using Isfeatured field in template, so my query like this:

+template:{A0ABC519-3848-4930-965A-90F9F1B7F319};custom:isfeatured|true;language:english

It is working correctly in the English language but in arabic language it is not returning featured data

+template:{A0ABC519-3848-4930-965A-90F9F1B7F319};custom:isfeatured|true;language:arabic_u.a.e.

If I removed this from the query custom:isfeatured|true;, it returns all the items in the Arabic language correctly.

Any Suggestions?

4
  • 1
    I think the . in the u.a.e might be messing up the query. Solr probably interprets it as something else Commented Nov 12, 2017 at 23:38
  • Are you using Solr or lucene? Commented Nov 12, 2017 at 23:43
  • As I see, you are using strange search query for language. Instead of language:english should be language:en. Commented Nov 13, 2017 at 13:17
  • The Problem was in the language name "u.a.e." as it contain "." so it causes issue in query as when using any other language it works fine
    – NAli
    Commented Nov 14, 2017 at 17:09

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.