Consider the following example

CREATE ALIAS IF NOT EXISTS FT_INIT FOR "org.h2.fulltext.FullText.init";
CALL FT_INIT();
DROP TABLE IF EXISTS TEST;
CREATE TABLE TEST(ID INT PRIMARY KEY, NAME VARCHAR);
INSERT INTO TEST VALUES(1, 'Hello World');
CALL FT_CREATE_INDEX('PUBLIC', 'TEST', NULL);

now i have executed the query

SELECT * FROM FT_SEARCH('Hello', 0, 0);

But this query is returning "PUBLIC"."TEST" WHERE "ID"=1 . 

1] Do i have to again execute this "PUBLIC"."TEST" WHERE "ID"=1 to get the
record containing 'Hello' word ??????

2] What is the query to search all records with 'ell' word in them from the
FT_Search. such as like %ell%

--
View this message in context: 
http://h2-database.66688.n3.nabble.com/Full-text-search-problem-in-h2-tp3155257p3155257.html
Sent from the H2 Database mailing list archive at Nabble.com.

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to