inline
On Fri, Sep 16, 2011 at 5:51 PM, Greg Hellings <greg.helli...@gmail.com>wrote:
> I'm working to update two of my projects which utilize CLucene 0.21b
> and trying to update them to CLucene 2.3.3.4. I haven't come across
> any posts or wiki pages that document a suggested upgrade path - are
> there any? If so, it might make my transition proceed much more
> quickly.
No, since the 2.3.* work was never completed, and we are now working on a
newer codebase , which we hope to finalize in the upcoming months.
> At present I have the following specific questions:
>
> My project utilizes lucene_utf8towcs and lucene_wcstoutf8. These are
> still present in CLucene but are not included in the publicly
> installed headers. Is this purposeful or not? If it is, what is the
> proper way to do those conversions when passing data into and out of
> CLucene?
>
Those were split to a clucene_shared project, whereas what you are using is
clucene_core. Just reference the main header of the shared project and you
should be set.
>
> There are a number of other missing classes or the like which were
> being used in 0.9.21b which are not present in 2.3.3.4. These lead to
> error messages like
>
> error: ‘Text’ is not a member of ‘lucene::document::Field’
> error: ‘UnStored’ is not a member of ‘lucene::document::Field’
> error: no matching function for call to
> ‘lucene::index::IndexWriter::addIndexes(lucene::store::Directory*
> [2])’
>
Some classes where made invisible intentionally, since they should only be
used internally. In the specific error message you have shown here, the API
has changed to match that of Lucene of the parallel version. See the sample
application and tests for the up to date syntax (sorry, don't have it handy
atm).
HTH
>
> and similar. Again, is there a document somewhere that defines
> standard upgrade paths and suggestions? Thanks.
>
> --Greg
>
>
> ------------------------------------------------------------------------------
> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> http://p.sf.net/sfu/rim-devcon-copy2
> _______________________________________________
> CLucene-developers mailing list
> CLucene-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/clucene-developers
>
>
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers