Skip to content

Commit

Permalink
mode-change on all files... + more documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
grosser committed Dec 29, 2008
1 parent 945e4a9 commit c5ed12d
Show file tree
Hide file tree
Showing 43 changed files with 14 additions and 19 deletions.
2 changes: 0 additions & 2 deletions .gitignore

This file was deleted.

Empty file modified CHANGELOG 100644 → 100755
Empty file.
Empty file modified MIT-LICENSE 100644 → 100755
Empty file.
31 changes: 14 additions & 17 deletions README 100644 → 100755
@@ -1,16 +1,14 @@
= search_do

Library for fulltext search integration with active record using multiple backends.

Supports:
Hyper Estraier (http://hyperestraier.sourceforge.net/) an ActiveRecord model.
* Library for fulltext search integration with active record.
* Build to support multiple search Backends
* acts_as_searchable Successor


== Pre-requisites
A working Hyper Estraier instance, setup instructions:

* http://hyperestraier.sourceforge.net/nguide-en.html
* http://pragmatig.wordpress.com/2008/05/06/getting-started-with-acts_as_searchable-on-ubuntu/
* Setup Instructions: http://pragmatig.wordpress.com/2008/05/06/getting-started-with-acts_as_searchable-on-ubuntu/
* In-depth Documentation: http://hyperestraier.sourceforge.net/nguide-en.html
* rake search:node:create MODEL=User RAILS_ENV=production - for every model/environment you use


Expand All @@ -30,7 +28,6 @@ A working Hyper Estraier instance, setup instructions:
:attributes => {:name=>nil,:city=>nil,:country=>nil,:age=>nil}
)
attr_accessor :html_snippet #add this to get html snippets on your results (see below)
attr_accessor :snippet #add this to get pure-snippets(not recommended) on your results
end

#SEARCH
Expand All @@ -41,7 +38,7 @@ A working Hyper Estraier instance, setup instructions:
- sorted by age ASC
@results = User.paginate_by_fulltext_search('hello',:attributes=>{:website=>'www',:age=>1},:order=>'age ASC',:page=>1,:per_page=>20)

(Same can be done without pagination magic: User.fulltext_search)
(Same can be done without pagination: User.fulltext_search)

#SNIPPETS
Each record found with a fulltext-search (not a attribute-only search) contains a snippet
Expand All @@ -50,17 +47,17 @@ A working Hyper Estraier instance, setup instructions:
User.fulltext_search('hello') => user.html_snippet == "id like to say <b>hello</b> to my fellow students"

NOTE: html_snippet will not contain HTML except for the <b>, so there is no need to escape it.


== Bugtracking
* fork and request pull
* send a message http://github.com/moro

== Hyperestraier Features
- Phrase search, regular expressions, attribute search, and similarity search
- Snippet retrival
- UTF8 support
- Web interface
- Built in P2P clustering of index servers


== Origin
Original is written by scoop see
* http://github.com/scoop/acts_as_searchable/tree/master
* http://poocs.net/2006/4/6/introducing-acts-as-searchable

Another fork is maintained by MOROHASHI Kyosuke
* http://github.com/moro/search_do/tree/master
* http://poocs.net/2006/4/6/introducing-acts-as-searchable
Empty file modified Rakefile 100644 → 100755
Empty file.
Empty file modified TESTING 100644 → 100755
Empty file.
Empty file modified TODO 100644 → 100755
Empty file.
Empty file modified init.rb 100644 → 100755
Empty file.
Empty file modified install.rb 100644 → 100755
Empty file.
Empty file modified lib/estraier_admin.rb 100644 → 100755
Empty file.
Empty file modified lib/search_do.rb 100644 → 100755
Empty file.
Empty file modified lib/search_do/backends.rb 100644 → 100755
Empty file.
Empty file modified lib/search_do/backends/hyper_estraier.rb 100644 → 100755
Empty file.
Empty file.
Empty file modified lib/search_do/dirty_tracking.rb 100644 → 100755
Empty file.
Empty file modified lib/search_do/dirty_tracking/bridge.rb 100644 → 100755
Empty file.
Empty file modified lib/search_do/dirty_tracking/self_made.rb 100644 → 100755
Empty file.
Empty file modified lib/search_do/indexer.rb 100644 → 100755
Empty file.
Empty file modified lib/search_do/utils.rb 100644 → 100755
Empty file.
Empty file modified lib/vendor/estraierpure.rb 100644 → 100755
Empty file.
Empty file modified lib/vendor/overview 100644 → 100755
Empty file.
Empty file modified rails/init.rb 100644 → 100755
Empty file.
Empty file modified recipes/mode_maintenance.rb 100644 → 100755
Empty file.
Empty file modified spec/backends/hyper_estraier_spec.rb 100644 → 100755
Empty file.
Empty file modified spec/backends/result_document_spec.rb 100644 → 100755
Empty file.
Empty file modified spec/dirty_tracking/bridge_spec.rb 100644 → 100755
Empty file.
Empty file modified spec/estraier_admin_spec.rb 100644 → 100755
Empty file.
Empty file modified spec/fixtures/stories.yml 100644 → 100755
Empty file.
Empty file modified spec/indexer_spec.rb 100644 → 100755
Empty file.
Empty file modified spec/search_do_spec.rb 100644 → 100755
Empty file.
Empty file modified spec/setup_test_model.rb 100644 → 100755
Empty file.
Empty file modified spec/spec_helper.rb 100644 → 100755
Empty file.
Empty file modified tasks/acts_as_searchable_tasks.rake 100644 → 100755
Empty file.
Empty file modified test/abstract_unit.rb 100644 → 100755
Empty file.
Empty file modified test/acts_as_searchable_test.rb 100644 → 100755
Empty file.
Empty file modified test/database.yml 100644 → 100755
Empty file.
Empty file modified test/fixtures/article.rb 100644 → 100755
Empty file.
Empty file modified test/fixtures/articles.yml 100644 → 100755
Empty file.
Empty file modified test/fixtures/comment.rb 100644 → 100755
Empty file.
Empty file modified test/fixtures/comments.yml 100644 → 100755
Empty file.
Empty file modified test/fixtures/notification.rb 100644 → 100755
Empty file.
Empty file modified test/fixtures/notifications.yml 100644 → 100755
Empty file.
Empty file modified test/schema.rb 100644 → 100755
Empty file.

0 comments on commit c5ed12d

Please sign in to comment.