Bug 6476 - SQLite ORM - Full Text Index request
Summary: SQLite ORM - Full Text Index request
Status: RESOLVED INVALID
Alias: None
Product: iOS
Classification: Xamarin
Component: Xamarin.iOS.dll ()
Version: 5.2
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-08-08 16:10 UTC by Ian
Modified: 2013-03-08 02:30 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED INVALID

Description Ian 2012-08-08 16:10:47 UTC
I use the SQLite.NET ORM wrapper (github) for SQLite on MonoTouch to create a database based on business objects. Works fine.

I wish to run the SQLite full text indexing command so that a full text virtual table is created. However the SQLite.Net ORM doesn't support that directly. Is there a way to create an index using other commands on MonoTouch?

The SQL to create a Full Text Index is just:

CREATE VIRTUAL TABLE "MyTable" USING FTS3 (
"ID" INTEGER PRIMARY KEY,
"Level" integer,
"Title" TEXT,
"Body" TEXT
);

insert into MyTable (Level,Title,Body) 
      Select Level,Title,Body from SomeOtherTable;

drop table SomeOtherTable;
Comment 1 Rolf Bjarne Kvinge [MSFT] 2012-10-18 08:34:24 UTC
You might be able to use the Sqlite bindings in our class libraries, and just execute that SQL statement.

Otherwise I'd suggest asking the SQLite.NET ORM wrapper project for ideas, they will likely know more about this.
Comment 2 asavasamuel 2013-03-08 02:29:07 UTC
Ian

Here is an ORM that works with Sqlite
https://www.kellermansoftware.com/p-47-net-data-access-layer.aspx
Comment 3 asavasamuel 2013-03-08 02:30:29 UTC
Ian

Here is an ORM that works with Sqlite
https://www.kellermansoftware.com/p-47-net-data-access-layer.aspx