date math help
If I wanted to return documents faceted by LastMod and I wanted them grouped by week what would the correct syntax be? I would like to eventually format the results to display this: Last day (facet count) Last Week (facet count) Last 2 Weeks (facet count) Last Month (facet count) Last 2 Months (facet count) Last 3 Months (facet count) So I figured I can get a date facet results going back 3 months in 7 day increments then map the results to my desired format. facet=true facet.date=LastMod f.LastMod.facet.date.end=NOW/DAY+1DAY f.LastMod.facet.date.gap=+7DAYS f.LastMod.facet.date.start=NOW/DAY-84DAYS (84 days is 12 weeks) Am I going about this wrong or is there a better way to get my desired result? thanks! -- View this message in context: http://old.nabble.com/date-math-help-tp27315500p27315500.html Sent from the Solr - User mailing list archive at Nabble.com.
dynamic synonyms
Wondering if this is possible. I have multiple clients using solr. Each client could have their own synonym list. During an update process if the record being inserted belongs to a client that happens to have it's own synonym file is there a way to use that during indexing / querying? It doesn't seem reasonable to have one field type per client so I'd like to know if there is a way to switch synonym files dynamically. It might not be possible since synonyms.txt is loaded when solr starts. -- View this message in context: http://old.nabble.com/dynamic-synonyms-tp27705987p27705987.html Sent from the Solr - User mailing list archive at Nabble.com.
new/first searcher
Hi, Is it the wrong approach to have the same warmup queries in both new and first searcher? The wiki shows a sorting query for the newSearcher and the same sorting query plus facet/filter queries for the firstSearcher. -- View this message in context: http://old.nabble.com/new-first-searcher-tp27714473p27714473.html Sent from the Solr - User mailing list archive at Nabble.com.