Project

General

Profile

Bug #24

Implement "Search box" in HDA

Added by gmw over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
-
Target version:
-
Start date:
02/12/2009
Due date:
% Done:

100%


Description

Fast PHP search function available from http://whoosh.ca/
This may be useful for speeding implementation.

Lucene is the other option (we tried it and it was too complex).

History

#1 Updated by cpg over 11 years ago

  • Tracker changed from Feature to Bug

#2 Updated by cpg over 11 years ago

  • Priority changed from Low to Normal

#3 Updated by cpg over 11 years ago

NOTE: we settled on the icons being 18x18 pixels and being png with transparent backgrounds.

here is a quick & dirty search implementation (very q&d - done while passing time watching a movie) for local files:

http://dl.getdropbox.com/u/364883/Amahi/search-prototype.png

has:

- minor cleanups
- searches files in shares only
- no checking for errors
- only first 10 results returned by the base engine, unranked

needs:

- pagination
- icons
- testing under various conditions
- launching file: links properly for at least ie, maybe other browsers/OSs
- support regular expressions
- a billion other things

as for icons, the base theme should get them from here (not clear if the small or larger is better):

http://tango.freedesktop.org/Tango_Icon_Library

file types needed:

- doc, spreadsheet, presentation, ... the usual office suspects
- audio files (one for all best, probably)
- images (same?)
- folders
- text files
- everything else

if you don't want to install it, here is a screenshot:

http://dl.getdropbox.com/u/364883/Amahi/search-prototype.png

#4 Updated by gmw over 11 years ago

  • Priority changed from Normal to High

#6 Updated by Anonymous over 11 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset commit:"c847cd9b4f67193ae59f3e2e4917da9e79d6ad56".

#7 Updated by cpg over 11 years ago

  • Status changed from Closed to New
  • Priority changed from High to Medium

what was checked in brings things to a very basic level of search

#8 Updated by Anonymous over 11 years ago

  • Status changed from New to Feedback

Did testing on vista and xp and ubuntu linux, none of the OS's will open the any file type. Search does not bring all possible files. Example, before last update i did a search for "tool" the search returned doc, images and mp3. Now it only returns a few docs (odt, ods, xls) and no mp3s, not even under the audio search. Did another search for "greg" it returned a mp3 (which is correct) and some images.

#9 Updated by gmw over 11 years ago

  • Priority changed from Medium to High
  • % Done changed from 100 to 80

Fix for file link format:

file://///hda/music

#10 Updated by Anonymous over 11 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 80 to 100

Applied in changeset commit:"47ae952ff42ec452d31c24858dd88bd0137a942c".

Also available in: Atom