[ https://jira.duraspace.org/browse/DS-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ivan Masár updated DS-1237: --------------------------- Summary: Support date ranges in advanced search (was: Support date ranges in advance search) > Support date ranges in advanced search > -------------------------------------- > > Key: DS-1237 > URL: https://jira.duraspace.org/browse/DS-1237 > Project: DSpace > Issue Type: New Feature > Components: JSPUI > Reporter: Kostas Stamatis > Labels: has-patch, has-pull-request > Attachments: daterange_patch.diff, README.txt > > > This proposed extension (implemented by National Documentation Centre/EKT - > http://www.ekt.gr) allows date range search in advance search. When a search > index is declared as a "date" search index in configuration file, then, when > selected in advance search drop down lists, a new drop down list appears to > select the range type (equals, before than, after than or between) and the > appropriate fields appear to the user to input the date ranges for the search. > The date range search is based on Lucene's range search mechanism. > The only limitation of this extension is that the companison is String-based > meaning that it works better if the metadata value in the date fields are > saved in the format yyyy-mm-dd. > USEFULNESS > --------------------- > In case you want to search for records that are dated within a period of > time, you can use this extension to add this functionality in DSpace's > advance search. > CONFIGURATION FILES > --------------------------------------- > In the default configuration file of DSpace (dspace.cfg) just declare the > search indices that you want to be of type date, as follows: > #Declare the indices that are of type date and want to have ranges in > searching > search.index.date.1 = date > EXAMPLES > ------------ > Repository: http://phdtheses.ekt.gr/eadd/advanced-search > Note: Select search by date and then a new option drop-down menu appears -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122812 _______________________________________________ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel