You could either add two separate fields, one for start year and another for end year. And then facilitate range queries to include all docs. eg. Name - Boris start year - 2001 end year - 2005
Or you could just have one field and put in multivalued years a student has attended the school. name -boris year 2001 2002 2003 2004 2005 I think the second approach would complete your objective -- View this message in context: http://lucene.472066.n3.nabble.com/Searching-solr-on-school-name-during-year-tp4088817p4088910.html Sent from the Solr - User mailing list archive at Nabble.com.