I have an use case where I wanted to search a word nearby a date of a specific range in the file content.. Ex: Consider this document with content as "income tax for the period Jan 2011 to Jan 2012 amounted to $2,000" Now I have the query as "tax [20110101 TO 20120201]"~4 for which I want the above document to be a hit.. I'm using complex phrase query parser to handle complex proximity queries.
So can any one point me in the right direction of how to implement this in Solr.