Title says it all; this would really be an awesome way for site admins to be able to see the effects of their changing around search scoring factors. This should also be ported to 7.x core if/after making it in here.

CommentFileSizeAuthor
search_ranking_ahah_01.patch2.71 KBcwgordon7
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

BlakeLucchesi’s picture

I have applied the patch but it doesn't provide any search box for the user to test out unique searches, I will add this in the coming days.

cwgordon7’s picture

The problem with adding a search box is Drupal tries to treat it as a variable...

BlakeLucchesi’s picture

I see. Perhaps we build it out using a different form_id so that it doesn't get submitted with the search settings form. I'll test this out and post results.

cwgordon7’s picture

Or just drupal_render() a dummy element, and append it as text?

BlakeLucchesi’s picture

I applied a new commit to HEAD that provides a search query entry box to try out different queries, this is really helpful because now the results have scoring percentages shown along side the related links area of each search result. I think there is an issue with the form being submitted if you hit the enter key while typing a search term, but I can fix this with some jquery magic.

BlakeLucchesi’s picture

Status: Needs review » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.