Query: plucene::document::dateserializer
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Plucene::Document::DateSerializer(3pm) User Contributed Perl Documentation Plucene::Document::DateSerializer(3pm)NAMEPlucene::Document::DateSerializer - Utility functions for dealing with datesSYNOPSISuse Plucene::Document::DateSerializer my $field = Plucene::Document::Field->Text( date => freeze_date(Time::Piece $t) ); $doc->add($field);DESCRIPTIONDates and times in Plucene should be serialized using the "freeze_date" function so that the Plucene::Search::DateFilter can filter on them during future searches.SUBROUTINESfreeze_date my $string = freeze_date(Time::Piece $t) This routine, exported by default, turns a "Time::Piece" object into a string in a format expected by both Plucene and Lucene. thaw_date my Time::Piece $t = Plucene::Document::DateSerializer::thaw_date($string) This routine is not exported, and is not used by the Plucene core. It is useful for debugging dates, and simply reverses the "freeze_date" operation. perl v5.12.4 2011-08-14 Plucene::Document::DateSerializer(3pm)
Similar Topics in the Unix Linux Community |
---|
Installing Dash Shell on OS X Lion |
Is UNIX an open source OS ? |
Introduction |
One instance of comparing grep and awk |
Find columns in a file based on header and print to new file |