<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: solr query exception while fetching the content between certain range in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/solr-query-exception-while-fetching-the-content-between-certain/m-p/298429#M251559</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't see any issue with the path as it is working fine when i search with the exact number.the exception I am getting only when i try with a range.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the below query is working fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;((PATH:"/app:company_home/st:sites/cm:my/*//*" AND (TYPE:"my:document" AND (70 )) ) AND -TYPE:"cm:thumbnail" AND -TYPE:"cm:failedThumbnail" AND -TYPE:"cm:rating") AND NOT ASPECT:"sys:hidden"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also your query is returning the results when i try from node browser.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but when i try from search textbox then only it is throwing the exception.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 19 Oct 2013 14:42:00 GMT</pubDate>
    <dc:creator>skumar_us</dc:creator>
    <dc:date>2013-10-19T14:42:00Z</dc:date>
    <item>
      <title>solr query exception while fetching the content between certain range</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solr-query-exception-while-fetching-the-content-between-certain/m-p/298424#M251554</link>
      <description>I need to fetch the document between certain range say 40 to 75,when I enter my:num:"40".."70"(here my is content model and num is the property)in the search criteria I am getting the below errorQuery&lt;IMG id="smileysad" class="emoticon emoticon-smileysad" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;(PATH:"/app:company_home/st:sites/cm:my/*//*" AND (TYPE:"my:document" AND (my:num:"40".."70" )) )</description>
      <pubDate>Thu, 17 Oct 2013 18:25:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solr-query-exception-while-fetching-the-content-between-certain/m-p/298424#M251554</guid>
      <dc:creator>skumar_us</dc:creator>
      <dc:date>2013-10-17T18:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: solr query exception while fetching the content between certain range</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solr-query-exception-while-fetching-the-content-between-certain/m-p/298425#M251555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; (my:num:"40".."70" )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;should be replaced with following part&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(@my\:num:[40 TO 70])&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2013 05:42:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solr-query-exception-while-fetching-the-content-between-certain/m-p/298425#M251555</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2013-10-18T05:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: solr query exception while fetching the content between certain range</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solr-query-exception-while-fetching-the-content-between-certain/m-p/298426#M251556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mits,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;tried with (@my\:num:[40 TO 70]) ,no success..got the same error with message"no viable alternative at input '@'"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I believe I need to pass it as num[40 to 70]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Query&lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;(PATH:"/app:company_home/st:sites/cm:my/*//*" AND (TYPE:"my:document" AND (num[40 to 70] )) ) AND -TYPE:"cm:thumbnail" AND -TYPE:"cm:failedThumbnail" AND -TYPE:"cm:rating") AND NOT ASPECT:"sys:hidden"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am getting the below exception:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2013-10-18 14:53:44,646&amp;nbsp; ERROR [solr.core.SolrCore] [http-8443-7] java.lang.UnsupportedOperationException: Range is not supported against ml-text&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.search.impl.lucene.AbstractLuceneQueryParser.getRangeQuery(AbstractLuceneQueryParser.java:2377)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.search.impl.querymodel.impl.lucene.functions.LuceneFTSRange.addComponent(LuceneFTSRange.java:76)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.search.impl.querymodel.impl.lucene.LuceneFunctionalConstraint.addComponent(LuceneFunctionalConstraint.java:58)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.search.impl.querymodel.impl.lucene.LuceneDisjunction.addComponent(LuceneDisjunction.java:66)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.search.impl.querymodel.impl.lucene.LuceneDisjunction.addComponent(LuceneDisjunction.java:66)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.search.impl.querymodel.impl.lucene.LuceneConjunction.addComponent(LuceneConjunction.java:70)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.search.impl.querymodel.impl.lucene.LuceneConjunction.addComponent(LuceneConjunction.java:70)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.search.impl.querymodel.impl.lucene.LuceneConjunction.addComponent(LuceneConjunction.java:70)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.search.impl.querymodel.impl.lucene.LuceneConjunction.addComponent(LuceneConjunction.java:70)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2013 08:42:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solr-query-exception-while-fetching-the-content-between-certain/m-p/298426#M251556</guid>
      <dc:creator>skumar_us</dc:creator>
      <dc:date>2013-10-18T08:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: solr query exception while fetching the content between certain range</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solr-query-exception-while-fetching-the-content-between-certain/m-p/298427#M251557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The one I gave you is the correct one only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Actually I can see many other errors as well in your query which may be causing issues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First is issue with your path It should be as follow&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PATH:"/app:company_home/st:sites/cm:my//*" &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then you are using combination of "AND", "-" and "NOT" which makes it prone to syntactical error are you able to execute this through node browser?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2013 09:33:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solr-query-exception-while-fetching-the-content-between-certain/m-p/298427#M251557</guid>
      <dc:creator>mitpatoliya</dc:creator>
      <dc:date>2013-10-18T09:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: solr query exception while fetching the content between certain range</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solr-query-exception-while-fetching-the-content-between-certain/m-p/298428#M251558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;lt;strong&amp;gt;Range is not supported against ml-text&amp;lt;strong&amp;gt;， check your custom type ,make sure my:num property&amp;nbsp; not d:mltext type&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2013 09:41:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solr-query-exception-while-fetching-the-content-between-certain/m-p/298428#M251558</guid>
      <dc:creator>kaynezhang</dc:creator>
      <dc:date>2013-10-18T09:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: solr query exception while fetching the content between certain range</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solr-query-exception-while-fetching-the-content-between-certain/m-p/298429#M251559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't see any issue with the path as it is working fine when i search with the exact number.the exception I am getting only when i try with a range.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the below query is working fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;((PATH:"/app:company_home/st:sites/cm:my/*//*" AND (TYPE:"my:document" AND (70 )) ) AND -TYPE:"cm:thumbnail" AND -TYPE:"cm:failedThumbnail" AND -TYPE:"cm:rating") AND NOT ASPECT:"sys:hidden"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also your query is returning the results when i try from node browser.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but when i try from search textbox then only it is throwing the exception.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Oct 2013 14:42:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solr-query-exception-while-fetching-the-content-between-certain/m-p/298429#M251559</guid>
      <dc:creator>skumar_us</dc:creator>
      <dc:date>2013-10-19T14:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: solr query exception while fetching the content between certain range</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solr-query-exception-while-fetching-the-content-between-certain/m-p/298430#M251560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am not using d:mltext,the datatype for num property is d:int,but still it is throwing error as "Range is not supported against ml-text".So strange !!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Oct 2013 14:43:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solr-query-exception-while-fetching-the-content-between-certain/m-p/298430#M251560</guid>
      <dc:creator>skumar_us</dc:creator>
      <dc:date>2013-10-19T14:43:53Z</dc:date>
    </item>
  </channel>
</rss>

