Directory Importer: Display similar URLs in autocompleter
Registered by
Tim Black
TODO: Provide a list of similar URLs in an autocompleter.
Consider using a CouchDB list function to do a Leventshein distance comparison on the user-submitted URL to get around the fact CouchDB can't do 2-ended similarity searches like "%textgoeshere%"
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Approved
- Series goal:
- Accepted for couchapp-backbone
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- Tim Black
- Completed by
- Tim Black
Related branches
Related bugs
Sprints
Whiteboard
Since the number of directories isn't large, I just query for all directory URLs, then filter using a regular expression to search for the user-submitted substring.
(?)