lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Gravel">
Subject using jstreams
Date Thu, 11 May 2006 12:28:54 GMT
Hi Ben,

I now tried to compile the contributions things,
but it failes in the highlighter Objects.
It failes in the Object Encoder.

I use the svn Revision 2063.

I tried to use the jstreams, but I don't know how.
Could you give me some example to add a field with content to a document.

string Content = "something in utf-8 text";
Document *doc= _CLNEW Document;
doc->add( *Field::Text("Content", Content.c_str(), true ) );


View raw message