<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I did it! <span class="moz-smiley-s6"><span> :-[ </span></span><br>
<br>
Just using this line<br>
cmsSearch.setSortOrder(CmsSearchParameters.SORT_DATE_LASTMODIFIED);<br>
<br>
Best regards.<br>
<br>
David Pérez Camarena escribió:
<blockquote cite="mid462DAD4B.2000705@aubay.es" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
I need for my web site a news search engine, using Lucene, but I need
the results to be ordered by release date. Has anyone got a code
example about how to make it?<br>
<br>
Thanks and greetings.<br>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 11">
<meta name="Originator" content="Microsoft Word 11">
<link rel="File-List" href="firma_archivos/filelist.xml">
<title>David PÉREZ CAMARENA</title>
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>David Pérez</o:Author>
<o:LastAuthor>David Pérez</o:LastAuthor>
<o:Revision>2</o:Revision>
<o:TotalTime>5</o:TotalTime>
<o:Created>2007-03-12T17:28:00Z</o:Created>
<o:LastSaved>2007-03-12T17:28:00Z</o:LastSaved>
<o:Pages>1</o:Pages>
<o:Words>37</o:Words>
<o:Characters>206</o:Characters>
<o:Company>Aubay Isalia</o:Company>
<o:Lines>1</o:Lines>
<o:Paragraphs>1</o:Paragraphs>
<o:CharactersWithSpaces>242</o:CharactersWithSpaces>
<o:Version>11.5606</o:Version>
</o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:HyphenationZone>21</w:HyphenationZone>
<w:DoNotHyphenateCaps/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas>false</w:ValidateAgainstSchemas>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotUnderlineInvalidXML/>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" LatentStyleCount="156">
</w:LatentStyles>
</xml><![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:536871559 0 0 0 415 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;
text-underline:single;}
span.SpellE
{mso-style-name:"";
mso-spl-e:yes;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;
mso-header-margin:35.4pt;
mso-footer-margin:35.4pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Tabla normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";
mso-ansi-language:#0400;
mso-fareast-language:#0400;
mso-bidi-language:#0400;}
</style>
<![endif]--><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal" style=""><span
style="font-size: 7.5pt; font-family: Verdana;">David
PÉREZ CAMARENA</span></p>
<p class="MsoNormal" style=""><span
style="font-size: 7.5pt; font-family: Verdana;">Programador</span></p>
<p class="MsoNormal" style=""><strong><span style="color: red;">@</span><span
class="SpellE"><span style="color: black;">ubay</span></span><span
style="color: black;"> </span></strong></p>
<p class="MsoNormal" style=""><strong><span
style="font-size: 7.5pt; font-family: Verdana; color: red;">Delegación en
Andalucía</span></strong></p>
<p class="MsoNormal" style=""><span
style="font-size: 7.5pt; font-family: Verdana;">Parque
Tecnológico de Andalucía</span></p>
<p class="MsoNormal" style=""><span class="SpellE"><span
style="font-size: 7.5pt; font-family: Verdana;">Avda</span></span><span
style="font-size: 7.5pt; font-family: Verdana;">. Juan López Peñalver,
21</span></p>
<p class="MsoNormal" style=""><span
style="font-size: 7.5pt; font-family: Verdana;">Teléfono
+34 952 020 555</span></p>
<p class="MsoNormal" style=""><span
style="font-size: 7.5pt; font-family: Verdana;"><a
href="http://www.aubay.com/" title="http://www.aubay.com/">www.aubay.com</a></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/mailman/listinfo/opencms-dev">http://lists.opencms.org/mailman/listinfo/opencms-dev</a></pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 11">
<meta name="Originator" content="Microsoft Word 11">
<link rel="File-List" href="firma_archivos/filelist.xml">
<title>David PÉREZ CAMARENA</title>
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>David Pérez</o:Author>
<o:LastAuthor>David Pérez</o:LastAuthor>
<o:Revision>2</o:Revision>
<o:TotalTime>5</o:TotalTime>
<o:Created>2007-03-12T17:28:00Z</o:Created>
<o:LastSaved>2007-03-12T17:28:00Z</o:LastSaved>
<o:Pages>1</o:Pages>
<o:Words>37</o:Words>
<o:Characters>206</o:Characters>
<o:Company>Aubay Isalia</o:Company>
<o:Lines>1</o:Lines>
<o:Paragraphs>1</o:Paragraphs>
<o:CharactersWithSpaces>242</o:CharactersWithSpaces>
<o:Version>11.5606</o:Version>
</o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:HyphenationZone>21</w:HyphenationZone>
<w:DoNotHyphenateCaps/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas>false</w:ValidateAgainstSchemas>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotUnderlineInvalidXML/>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" LatentStyleCount="156">
</w:LatentStyles>
</xml><![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:536871559 0 0 0 415 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;
text-underline:single;}
span.SpellE
{mso-style-name:"";
mso-spl-e:yes;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;
mso-header-margin:35.4pt;
mso-footer-margin:35.4pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Tabla normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";
mso-ansi-language:#0400;
mso-fareast-language:#0400;
mso-bidi-language:#0400;}
</style>
<![endif]--><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal" style=""><span
style="font-size: 7.5pt; font-family: Verdana;">David
PÉREZ CAMARENA</span></p>
<p class="MsoNormal" style=""><span
style="font-size: 7.5pt; font-family: Verdana;">Programador</span></p>
<p class="MsoNormal" style=""><strong><span style="color: red;">@</span><span
class="SpellE"><span style="color: black;">ubay</span></span><span
style="color: black;"> </span></strong></p>
<p class="MsoNormal" style=""><strong><span
style="font-size: 7.5pt; font-family: Verdana; color: red;">Delegación en
Andalucía</span></strong></p>
<p class="MsoNormal" style=""><span
style="font-size: 7.5pt; font-family: Verdana;">Parque
Tecnológico de Andalucía</span></p>
<p class="MsoNormal" style=""><span class="SpellE"><span
style="font-size: 7.5pt; font-family: Verdana;">Avda</span></span><span
style="font-size: 7.5pt; font-family: Verdana;">. Juan López Peñalver,
21</span></p>
<p class="MsoNormal" style=""><span
style="font-size: 7.5pt; font-family: Verdana;">Teléfono
+34 952 020 555</span></p>
<p class="MsoNormal" style=""><span
style="font-size: 7.5pt; font-family: Verdana;"><a
href="http://www.aubay.com/" title="http://www.aubay.com/">www.aubay.com</a></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>