<?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: How to create a field that is searchable by giving a range in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-field-that-is-searchable-by-giving-a-range/m-p/40648#M17051</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Axel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will give this a try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Apr 2017 10:05:47 GMT</pubDate>
    <dc:creator>hiten_rastogi1</dc:creator>
    <dc:date>2017-04-17T10:05:47Z</dc:date>
    <item>
      <title>How to create a field that is searchable by giving a range</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-field-that-is-searchable-by-giving-a-range/m-p/40646#M17049</link>
      <description>Hi,I have three fields that contains values for the tenure of a contract, e.g. custom:tenureYear=5,&amp;nbsp;custom:tenureMonth=11 and&amp;nbsp;custom:tenureDays=3, these fields are simple text, non editable and are calculated through a behavior.I want that in the adv. search form I can have three other fields in whi</description>
      <pubDate>Thu, 13 Apr 2017 05:40:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-field-that-is-searchable-by-giving-a-range/m-p/40646#M17049</guid>
      <dc:creator>hiten_rastogi1</dc:creator>
      <dc:date>2017-04-13T05:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a field that is searchable by giving a range</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-field-that-is-searchable-by-giving-a-range/m-p/40647#M17050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Configure the search form to use the numberrange.ftl form control template for the fields you need. I would also adivse you to change the data model to use d:int instead of d:text for these properties, otherwise the sorting of the field values may not be correct and you might end with incorrect results of range queries too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2017 15:52:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-field-that-is-searchable-by-giving-a-range/m-p/40647#M17050</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2017-04-13T15:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a field that is searchable by giving a range</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-field-that-is-searchable-by-giving-a-range/m-p/40648#M17051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Axel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will give this a try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Apr 2017 10:05:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-field-that-is-searchable-by-giving-a-range/m-p/40648#M17051</guid>
      <dc:creator>hiten_rastogi1</dc:creator>
      <dc:date>2017-04-17T10:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a field that is searchable by giving a range</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-field-that-is-searchable-by-giving-a-range/m-p/40649#M17052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is easy to fall into the trap of describing why your solution does not work and skip the problem ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the route cause that we do not index duration very well? I assume that the start and end dates for the contract are not enough and you want something that also includes the contract length. One way to do duration is simply with numeric fields for days etc described. You can probably abuse date relative to some fixed point in the past and then use SOLR date math in your queries for duration - with easy rounding and date math. You would have to do some query building.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 09:16:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-field-that-is-searchable-by-giving-a-range/m-p/40649#M17052</guid>
      <dc:creator>andy1</dc:creator>
      <dc:date>2017-09-15T09:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a field that is searchable by giving a range</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-field-that-is-searchable-by-giving-a-range/m-p/40650#M17053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Andy for you input. I was able to overcome the challenge by using number range ftl as described by Axel above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2017 10:16:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-create-a-field-that-is-searchable-by-giving-a-range/m-p/40650#M17053</guid>
      <dc:creator>hiten_rastogi1</dc:creator>
      <dc:date>2017-09-15T10:16:31Z</dc:date>
    </item>
  </channel>
</rss>

