<?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 Query Lucene: get the birthday in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/query-lucene-get-the-birthday/m-p/275779#M228909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I write this query&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@myest\:birthday:"1998\-09\-24"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The results are all those lines of people who were born on that day, but I want people born that month and that day (no year).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@myest\:birthday:"*\-09\-24" and @myest\:birthday:"19*\-09\-24" not good&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the right query?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Sep 2011 10:36:25 GMT</pubDate>
    <dc:creator>ventus85</dc:creator>
    <dc:date>2011-09-26T10:36:25Z</dc:date>
    <item>
      <title>Query Lucene: get the birthday</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/query-lucene-get-the-birthday/m-p/275779#M228909</link>
      <description>Hi all!If I write this query@myest\:birthday:"1998\-09\-24"The results are all those lines of people who were born on that day, but I want people born that month and that day (no year).@myest\:birthday:"*\-09\-24" and @myest\:birthday:"19*\-09\-24" not goodWhat is the right query?Thank you.</description>
      <pubDate>Mon, 26 Sep 2011 10:36:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/query-lucene-get-the-birthday/m-p/275779#M228909</guid>
      <dc:creator>ventus85</dc:creator>
      <dc:date>2011-09-26T10:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Query Lucene: get the birthday</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/query-lucene-get-the-birthday/m-p/275780#M228910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is no support to do this at the moment for datetime (and the wildcards you could use will lower case and miss)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is a reasonable extension to have constraints on the upper and lower bits of datetime used. At the moment you can ignore everything below hour etc etc)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For date the index contains tokens of the form&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;yyyy-MM-dd&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you quote it - you will get stuff tokenised and the * will fail to parser to a date&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@myest\:birthday:????\-09\-24&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;should give you a wildcard query that matches (and does not have to be valid date)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Sep 2011 19:31:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/query-lucene-get-the-birthday/m-p/275780#M228910</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2011-09-26T19:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Query Lucene: get the birthday</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/query-lucene-get-the-birthday/m-p/275781#M228911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I solved by creating the node properties with day, month and year (individually).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My query is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@myest\:month:"09" AND @myest\:day:"24"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 08:16:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/query-lucene-get-the-birthday/m-p/275781#M228911</guid>
      <dc:creator>ventus85</dc:creator>
      <dc:date>2011-09-27T08:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Query Lucene: get the birthday</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/query-lucene-get-the-birthday/m-p/275782#M228912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The date time analyser creates individual tokens for each field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is you can not query these direct.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;At some point we will add some more date functions to expose this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 18:44:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/query-lucene-get-the-birthday/m-p/275782#M228912</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2011-09-27T18:44:53Z</dc:date>
    </item>
  </channel>
</rss>

