How to implement proximity search with dates in SOLR

I have a use case where I wanted to find a word near the date of a specific range in the content of a file. Example: Consider this document with content as "income tax for the period January 2011 to January 2012 was $ 2000", Now I have a query like "tax [20110101 TO 20120201]" ~ 4 for which I want to the above document was a hit. I am using complex phrase to handle complex proximity requests.

So can anyone point me in the right direction on how to implement this in Solr.

+3
date range lucene solr proximity


source to share


No one has answered this question yet

Check out similar questions:

3796
How do you get the timestamp in JavaScript?
2102
How do I get the current date in JavaScript?
1865
How to format a JavaScript date
1746
Compare two dates with JavaScript
1658
How to return only date from SQL Server DateTime datatype
1350
Where can I find documentation on date formatting in JavaScript?
1333
Detecting an "invalid date" date instance in JavaScript
1039
Get current time and date on Android
599
Solr vs ElasticSearch
0
Complex queries with Solr 4



All Articles
Loading...
X
Show
Funny
Dev
Pics