I don't know if I just didn't see it but is there a way for apachesolr to return relevant contents based on the keywords they used in external search engines that landed them in the site?

For example, you used the keywords "Nexus One" and performed a search with Google. Your site running apachesolr got the hit and the user landed on your site. The "More like this" block may use the keywords "Nexus One" as the criteria to return more relevant contents to the user based on those keywords and not based on the current content they are viewing.

if there is still no implementation for this, I would like to start a module to work with apachesolr.

Any thoughts?

CommentFileSizeAuthor
#2 fb_social_internationalization.patch3.76 KBegomac

Comments

jpmckinney’s picture

It would currently require custom code (taking advantage of functions in the apachesolr module) to do this. If you want to generalize that code into a contrib module, I encourage you!

egomac’s picture

StatusFileSize
new3.76 KB

[edited] Please ignore. This should be on a separate module.

egomac’s picture

Im willing to take on this project. How does 'apachesolr_referer' sounds?

jpmckinney’s picture

Sounds good, but use "referrer". "Referer" is a common misspelling.

egomac’s picture

Thanks jpmckinney. Yeah I know it is a common misspelling but:

http://en.wikipedia.org/wiki/HTTP_referer


"Referer" has since become a widely used spelling in industry when discussing HTTP referrers; usage of the misspelling is not universal, though, as the correct spelling of "referrer" is used in some web specifications such as the Document Object Model.

jpmckinney’s picture

Yes, a lot of people are jumping off the bridge, but that isn't reason for you to :)

jpmckinney’s picture

Status: Active » Closed (won't fix)

No patch + old = wontfix