Well, the cmake build system does let us deploy on many platforms very
easily, and it is also very easy to setup as a VS project. That link I
posted has instructions in it, but the following commands in a batch
file should do the trick for you:
rem Define Boost envt vars
set BOOST_BUILD_PATH=Z:\Dev\Libraries\boost_1_40_0\tools\build\v2
set BOOST_PATH=Z:\Dev\Libraries
set BOOST_ROOT=Z:\Dev\Libraries\boost_1_40_0
rem Re-create the solution using CMake
"c:\Program Files\cmake\bin\cmake.exe" -G "Visual Studio 8 2005" ..
> cmake.txt
At this time Boost is only required for the smart_pointers branch, so it
shouldn't be compiled in for the master branch.
As for file sizes: in the new setup we have 2 DLLs - one for shared
components and the other for the core. Compiling the MinSizeRel
configuration with VS2005 I get a total of 1MB. If size matters so much
for you I guess we could reduce it by removing the legacy queryParser
files, making the zlib support optional and some other optimizations.
But it will still be somewhat larger in size than the 256kb DLL - we did
add a lot of code. But I think the speed and features you'll gain will
be worth it.
Itamar.
On 9/8/2010 6:37 PM, e...@telexis.com wrote:
Well, I've downloaded it, and am downloading boost now. It is a shame
(imho) that you've moved away from the super-easy build of the
previous version (MS VS project files). If I ever do get this new
format compiled, how does the distribution size compare to the
previous version? The previous DLL I built, even with the MS CRTL
compiled in (no dependencies other than kernel32.dll), was around 500KB.
------------------------------------------------------------------------
Eric,
For new development you better work with our git master HEAD. See
http://clucene.sourceforge.net/download.shtml
You'll find the Highlighter under /src/contribs-lib/CLucene/highlighter.
Itamar.
I just started looking at the source code, but it sure looks like you can. If
you look at this file:
clucene-contrib-0.9.13/test/TestHighlight.cpp
In the doStandardHighlights() function, you'll see this line:
const TCHAR* text = hl_hits->doc(i).get("content");
[I replaced a define with the actual text for clarity.]
Instead of pulling the text from the document field, you should be able to pull
it from your database.
<< Original message from, "Ahmed"<ci7nu...@gmail.com>:
Date: Sat, 07 Aug 2010 21:20:41 +0100
To:clucene-developers@lists.sourceforge.net
Can i use the highlighter even if i don't store text in clucene index?
Le samedi 07 août 2010 à 09:50 +0200, Ben van Klinken a écrit :
Check out the highlighter code in the contribs folder. Should do what u need.
Ben
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers