jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Friedhelm Matten" <friedhelm.mat...@iscad-it.de>
Subject fulltext search sql excerpt sql2 jackrabbit 2.1.0
Date Fri, 02 Jul 2010 15:10:04 GMT
Hi,

 

I would like to change from jackrabbit 1.6.2 to jackrabbit 2.1.0

and test following full text search

 

select * from [nt:resource] AS resource where contains(resource.*,
'%DocumentText%')

 

for Dokuments word, pdf,. .

 

With 

 

            RowIterator ri = qr.getRows();

            while (ri.hasNext()) {

                Row row = ri.nextRow();

               // row.getValue("rep:excerpt(jcr:data)").getString();

                double score = row.getScore();

                logger.info("--->>>score: " + score);

                Value excerpt = row.getValue("rep:excerpt(jcr:data)");

                logger.info("--->>>: " + excerpt);

            }

 

There a result rows but excerpt is null.

 

Thanks for help!

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message