Hello Eugen and everybody,

Thanks for the suggestions, I've put them in practice and have pushed the changes to master. The code can be built now without a problem, the running of the test can be done like so:

mvn 
-Dtest=org.apache.james.mailbox.lucene.hbase.HBaseMiniClusterTesting.java#searchFromHBase
 test

P.S. I've kept a few tests based on avro serialization due to the fact that I 
think that they will be of use in the near future.

On 01.07.2012 12:08, Ioan Eugen Stan wrote:
Hello Mihai,

A quick review and some notes.

* I think it's better if you use the Apache Snapshots repo for lucene
4 snapshots: http://lucene.apache.org/core/developer.html .See section
'Nightly build', You can copy/paste the repo entry form here:
http://stackoverflow.com/a/11062518/638331

* the project does not build. You need to upgrade a class. Try to
always keep the source buildable. Output is:

/home/ieugen/contracte/mailbox-lucene-index-hbase/src/main/java/org/apache/james/mailbox/lucene/hbase/Searcher.java:[28,36]
error: package org.apache.lucene.queryParser does not exist

* rename the project, groupId and artifact id to something else than
LuceneTest:

* clean-up your code. It's sloppy: remove all source files that you
don't use (Avro tests, etc).

I'll check again after this.

Cheers,

2012/7/1 Mihai Soloi <[email protected]>:
Hello everybody,

I'd like to report that the project I've been working on can now be used in
testing, there is a working implementation of the HBaseDirectory that
stores the index files and can perform the common operations in Lucene. I
am now working in using the Lucene testing into the the project to be sure
it will pass the tests from the core project. Also, the way of approach of
storing all of the index files is not efficient, so another approach is
warranted, one in which part of the index is stored in multiple segments
files not to read all of the segments in one big chunk as Lucene does now,
this will allow for truly distributed searching.

You can run the tests for searching into text files, if you have them in
your home directory, with 'maven -Dtest=org.apache.james.mailbox.lucene.
hbase.HBaseMiniClusterTesting.java#insertSegmentsIntoColumns test'.

Have a nice weekend,
Mihai





---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to