abhi62003 / relax-net

Automatically exported from code.google.com/p/relax-net
GNU General Public License v3.0
0 stars 0 forks source link

Support for Lucene/CouchDB integrations #20

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
https://github.com/rnewson/couchdb-lucene/tree/v0.4#readme

This may end up just being a matter of documenting how to write the views for 
lucene queries, and how to access results through Hammock.

Original issue reported on code.google.com by nnyst...@gmail.com on 25 Mar 2011 at 2:43

GoogleCodeExporter commented 9 years ago
I have a working implementation that may need some beautification before 
including:

Added this function to Session.cs: http://pastebin.com/Fi9mEfag

+ this function to EntitySerializer.cs: http://pastebin.com/1WYbEsQC

Usage example:
public IEnumerable<SearchHierarchyResult> GetSearchResults(string searchTerm) {
            var c = GetConnection();
            var s = c.CreateSession(DB_NAME);
            return s.LuceneSearch<SearchHierarchyResult>(searchTerm+"*", 20);
        }

Original comment by kgould...@sasaki.com on 15 Mar 2012 at 8:41

GoogleCodeExporter commented 9 years ago
Hi. Thanks for this code.
I'm testing it out now.
Any updates to your code since Mar?
Thanks! CM

Original comment by design.d...@gmail.com on 20 Sep 2012 at 1:02