Hi,
I am new to jackrabbit and trying to make use of jackrabbit search function,
Please find below the query which will return me result where data contains
searchString. 

[code]
String statement = "SELECT * FROM [nt:resource] AS resource WHERE";
String queryCondition = "CONTAINS(resource.*, '" + searchString + "');
[/code]

I want to make use of excerpt function and want to highlight search string
in the result returned by query. 
I am not getting idea how can i use excerpt in SQL2. I can have example of
excerpt in standard search.jsp 
but i want some hint how can i use in my above query.

If you can please share some example or suggestion, it would really be
great.

Thanks and looking forward.





-- 
View this message in context: 
http://jackrabbit.510166.n4.nabble.com/Use-of-excerpt-with-SQL2-tp3249018p3249018.html
Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.

Reply via email to