Weekly Report 11 Gsoc @ Moodle

week 11 (28 august- 5 September)

Task 1 Filtering results by startdate :-

This week my task was to filter course results by startdate. Solr range can be used to implement the same.

Working with solr range queries :-

Range Queries allow one to match documents whose field(s) values are between the lower and upper bound specified by the Range Query.

startdate:[2013-08-24T00:00:00Z  TO *]  // courses that are started after 24 august
 startdate:[2013-08-24T00:00:00Z TO 2013-09-24T00:00:00Z]  // courses that is going to start b/w august to sep.

Solr’s built-in field types are very convenient for performing range queries on numbers without requiring padding.



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s