[deepamehta-devel] my first test of dm3
Torsten Ziegler
torsten at ziegi.de
Mo Nov 9 13:27:31 CET 2009
Dear Jörg,
thanks for pushing DeepaMehta to the next step.
The last minutes I installed the new version from github
and I found some things that are not yet working
following the Readme text.
The Readme from http://github.com/jri/deepamehta3
says:
3.) Configure CouchDB for use with couchdb-lucene as described in the
README
|<http://github.com/rnewson/couchdb-lucene/>
|This page only refers to couchdb-lucene 0.5, no word about installation
of 0.4, but I found this page:
http://wiki.github.com/ShiftSpace/shiftspace/installation-os-x
that helped me to go on.
I am working on an ubunti 9.10 system and did put the following lines to
the file: "/etc/couchdb/local.ini"
these have to adjusted for your location of the couchdb-lucene location:
[couchdb]
os_process_timeout=60000 ; 60 seconds for couchdb-lucene
[update_notification]
indexer=/usr/bin/java -Dcouchdb.url=http://127.0.0.1:5984 -jar
/data/dokumente/projekte/deepamehta/dm3/couchdb-lucene/couchdb-lucene-0.4-jar-with-dependencies.jar
-index
[external]
fti=/usr/bin/java -jar
/data/dokumente/projekte/deepamehta/dm3/couchdb-lucene/couchdb-lucene-0.4-jar-with-dependencies.jar
-search
[httpd_db_handlers]
_fti={couch_httpd_external, handle_external_req, <<"fti">>}
But still the Fulltext search in dm3 brings the error message:
Error while searching: {"message":"result is
null","fileName":"http://localhost:5984/deepamehta3-db/_design/deepamehta3/index.html","lineNumber":23,"stack":"(\"Fulltext\")@http://localhost:5984/deepamehta3-db/_design/deepamehta3/index.html:23\u000atrigger_hook(\"search\",\"Fulltext\")@http://localhost:5984/deepamehta3-db/_design/deepamehta3/javascript/deepamehta3.js:434\u000asearch([object
Object])@http://localhost:5984/deepamehta3-db/_design/deepamehta3/javascript/deepamehta3.js:75\u000a([object
Object])@http://localhost:5984/deepamehta3-db/_design/deepamehta3/vendor/jquery/js/jquery-1.3.2.min.js:19\u000a([object
Event])@http://localhost:5984/deepamehta3-db/_design/deepamehta3/vendor/jquery/js/jquery-1.3.2.min.js:19\u000a"}
while the search by time works perfectly.
The Readme from http://github.com/jri/deepamehta3
says in the section DeepaMehta 3 installation
2.)|couchapp push --atomic http://localhost:5984/deepamehta3-db|
first there is one command missing to initialize the local app directory
"couchapp init"
then the up to date couchapp does atomic inserts by default and does not
know the --atomic option any more
so it should read:
couchapp push http://localhost:5984/deepamehta3-db
What I really like is that the user gets prompted before the deletion
of nodes, as I deleted quite some data by accident in dm2
Concerning the dm2 database conversion to dm3 you describe below
this is not a major problem for me as I still dont have any "production"
data in dm2.
Thanks a lot for the work and hopefully the above points help a little bit.
Cheers
Torsten
Jörg Richter schrieb:
> Dear Thorsten "Ziegi",
>
> a while ago you asked weather DeepaMehta 3 will be data-compatible with
> DeepaMehta 2. At that time DeepaMehta 3 existed only in planing and
> nothing was set. Meanwhile a usable version of DeepaMehta 3 is
> available (see http://github.com/jri)
>
>
> _______________________________________________
> deepamehta-devel mailing list
> deepamehta-devel at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/deepamehta-devel
>
>
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <http://lists.deepamehta.de/mailman/private/devel-lists.deepamehta.de/attachments/20091109/a3763723/attachment.html>
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname : torsten.vcf
Dateityp : text/x-vcard
Dateigröße : 150 bytes
Beschreibung: nicht verfügbar
URL : <http://lists.deepamehta.de/mailman/private/devel-lists.deepamehta.de/attachments/20091109/a3763723/attachment.vcf>
-------------- nächster Teil --------------
Ein Dateianhang mit Binärdaten wurde abgetrennt...
Dateiname : smime.p7s
Dateityp : application/x-pkcs7-signature
Dateigröße : 3324 bytes
Beschreibung: S/MIME Cryptographic Signature
URL : <http://lists.deepamehta.de/mailman/private/devel-lists.deepamehta.de/attachments/20091109/a3763723/attachment.bin>
Mehr Informationen über die Mailingliste devel