Timeline for Drupal + Solr, how to boost search results with updated date?
Current License: CC BY-SA 3.0
18 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 18, 2014 at 15:27 | comment | added | Deejay | Project extension proposed if anyone's interested in this one drupal.org/node/2395563 | |
Dec 18, 2014 at 10:10 | comment | added | Deejay | @Tuomas Leppänen are you still working on this. Here's where I am with it . drupal.org/node/2392499 . I'm now starting work on making a UI extension for the fields page but could do with getting this hook to work first. How about opening a chat page on here for it. | |
S Dec 12, 2014 at 12:13 | history | bounty ended | CommunityBot | ||
S Dec 12, 2014 at 12:13 | history | notice removed | CommunityBot | ||
Dec 11, 2014 at 15:48 | comment | added | Deejay | after reading metaltoad.com/blog/date-boosting-solr-drupal-search-results & 'date boosting' at wiki.apache.org/solr/FunctionQuery . the line '$call_args['params']['qf'][] = 'recip(abs(ms(NOW,ds_changed)),3.16e-11,1,1)';' I think should work but doesn't . | |
Dec 7, 2014 at 19:34 | answer | added | Deejay | timeline score: 2 | |
Dec 6, 2014 at 4:40 | history | tweeted | twitter.com/#!/StackDrupal/status/541089679140204546 | ||
Dec 5, 2014 at 12:11 | answer | added | Orchid | timeline score: 1 | |
Dec 5, 2014 at 9:23 | comment | added | Deejay | @Darvanen if you mean sorting by date in the view before passing to relevance, then this doesn't work for us. As we want to pass the relevance by Title first ; then date; then body. | |
Dec 4, 2014 at 22:17 | comment | added | Darvanen | As a work-around you could set up a sort based on change date and default to that, works for us. | |
S Dec 4, 2014 at 10:48 | history | bounty started | Deejay | ||
S Dec 4, 2014 at 10:48 | history | notice added | Deejay | Draw attention | |
Dec 4, 2014 at 10:45 | comment | added | Deejay | looking at the arguments I'm receiving in my code for this hook; I haven't got a value for $call_args['params']['freshness'] in $call_args['params']['qf'] is where I get an array of values that list the weights for the boost. | |
Nov 20, 2014 at 15:36 | comment | added | Tuomas Leppänen | @Deejay sorry but nope. | |
Nov 19, 2014 at 15:17 | comment | added | Deejay | @Tuomas_Leppänen have you had any joy with this issue and finding a solution. | |
Nov 11, 2014 at 12:40 | comment | added | Deejay | I could do with finding this out as well . I was wondering if in > admin > config > search > Search api > index > % > fields . If I was to change the created from type 'date' to 'string' that I'd then be able to add it to the Boost and weighting. I don't want to test this on a live site though. | |
Nov 7, 2014 at 11:23 | history | edited | Tuomas Leppänen | CC BY-SA 3.0 |
Added screenshot of solr admn
|
Nov 7, 2014 at 11:15 | history | asked | Tuomas Leppänen | CC BY-SA 3.0 |