Download & Extend

Port Similar entries module to Drupal 7

Project:Similar Entries
Version:7.x-2.x-dev
Component:Miscellaneous
Category:task
Priority:normal
Assigned:Unassigned
Status:closed (fixed)
Issue tags:D7 porting, d7 ports, port to d7

Issue Summary

...as per issue title. This is to track the progress and server as a place to ask annoying "Are we there yet?" questions ;)

The Great news is that Jordan has taken over the project and he intents to do this! Lets help him out by cleaning the issue queue. This will give him time to do actual codding work and get this port faster ;)

Things you can do:

- Go over 4.x and 5.x issues and see if they are still valid for 6.x. If not, close them.
- Test 6.x issues to see if they are valid and write issue summaries for them so that Jordan doesn't have to read the whole issue.
- be creative ;)

Comments

#1

Great! Love it thanks for the help! : )

#2

No problem mate, thanx for taking things over ;)

#3

Thanks again for the help klonos! Here's a good news update on this issue:

I've spent many hours on the upgrade and port of Similar entries, and now I'm ready to release alpha versions for wider testing.
Essentially, 7.x-2.x is a straight port of the Drupal 6 version I've been working on this week. This module has been around for quite a while, and I think these versions finally do a lot to get the module caught up to the times. Here is a quick outline of the completed features:

  • Complete Views integration.
    • Default block view means the use of hook_block() has been deprecated.
    • A node ID argument performs the query with options to include (CCK) fields.
    • A sort handler for sorting the results by relevance score.
    • A field for displaying the relevance score as a raw decimal or a percentage.
  • Field support
    • As mentioned, the Views nid argument includes an option to query additional fields.
    • Field tables are indexed when cron runs if necessary. Similar entries does this by checking the current field schema to determine if any fields are not indexed yet.

About the release cycle

During the alpha phase the module will be open to most feature requests. There will be no more fundamental changes (like the views integration), but any reasonable feature will certainly be considered for the port. All features will now be developed in the 7.x-2.x branch and back ported to 6.x-2.x. Some additional features to consider:

  • Additional settings for Views handlers, i.e. argument, sort, and field.
  • Improvements to the field integration and how indexing is handled.
  • Improvements to the views query. Particularly improving the accuracy of results.
  • Further integration of feathered new in Drupal 7 in general - like entities.

Once a version of the module hits beta, the code will be considered stable and there will be only minor changes. No feature requests or changes will be accepted for 6.x-1.x aside from significant security or bug fixes. That version will remain supported for the time being, but the 5.x branch is now unsupported.

Remember, feature requests are always welcome!

#4

Some relevant issues to the completion of the port to D7 and general upgrade of both versions to 2.0:

#1246456: Provide a Similar entries filter to limit fields in the query
#1246454: Include more fields in the argument node(s)
#1246044: Argument query goes into boolean mode when including CCK fields - This is currently the most pressing issue in the upgrade and port.

#5

Version:master» 7.x-2.x-dev
Status:active» closed (fixed)

I think we can close this one here and file separate issues against 7.x as they come up. As for status updates, they belong in the project's page I guess. Once again, thank you Jordan for all your hard work and time spent on this one.

#6

Indeed

#7

Version:7.x-2.x-dev» master
Category:task» feature request
Status:closed (fixed)» needs review

Hi, just a question maybe a feature request.

Any way to do this with innodb?

thanks

#8

I opened a new issue for this request at #1251976: Support INNODB. Check out my comments on it there.

#9

Version:master» 7.x-2.x-dev
Category:feature request» task
Status:needs review» closed (fixed)

...was about to do it. Got me ;)

#10

Whoops forgot to close it thanks!