I really need move from dataobjects 3 to 4 for my next bit of work, but need text searching on a couple of fields. Any idea on the best way of combining lucene with Dataobjects 4. This thread was imported from our support forum. The original discussion may contain more detailed answer. |
How much time do you have to make full-text indexing working in your application? I'm thinking if it's ok for you to wait till we do this for DO4 (November-December dependently on other features), or it's better to make your own implementation. This must be pretty simple, if you won't plan to get something quite generic here (obviously, we need a generic API, but you may stick to anything that suits just you). Local collections allows to "push" Lucene query results into our own queries with ease - moreover, you can push millions of results by this way. Everything else must be straighten-forward: you must listen Entity events and update Lucene indexes on changes. On the other hand... Getting a generic implementation faster would be cool as well... But I know we won't be able to do anything here at least till mid-November. So write your thoughts - I'd be glad to help. Tony wrote: Great, Local collections looks just what I want to keep me going untill you add text search to DO 4. |