full-text-search

Most efficient design to search for this data in my database?

Hi folks, I have the following database tables and a view which represents that data. The tables are heirachial (if that is how u describe it) :- EDIT: I've replace my 3 tables with FAKE table names/data (for this post) because I'm under NDA to not post anything about out projects, etc. So yeah.. I don't really save people ...

Full Text Search for Multiple tables in SQl Server 2005

Hey friends I need to implement Full text search across tables. what are the different options. ...

"sounds-like", "did you mean THAT" functionality using full text search in SQL Server 2005

I have implemented full text search over SQL Server 2005 database using CONTAINSTABLE keyword. I was wondering is there a way to add a "sounds like" or google's "did you mean THAT" functionality if the original query yields no results. ...

Search functionality for Django

I'm developing a web app using Django, and I'll need to add search functionality soon. Search will be implemented for two models, one being an extension of the auth user class and another one with the fields name, tags, and description. So I guess nothing too scary here in context of searching text. For development I am using SQLite and...

MS-SQL Server 2000 slow full text indexing

We have a full text index on a fairly large table of 633,569 records. The index is rebuilt from scratch as part of a maintenance plan every evening, after a bunch of DTS packages run that delete / insert records. Large chunks of data are deleted, then inserted (to take care of updates and inserts), so incremental indexing is not a possib...

simple search engine

I am trying to write program its like a simple search engine, in this program the user is supposed to enter a search keyword into an edit box and then he can click the search button, and the program is supposed to open a specific text file from the directory and find a matching word to that keyword in this text file. I am using Delphi 20...

How to look for a SQl Server row based on a paragraph - specifically, the words in the paragraph, not the exact paragraph

I want to use SQL Server 2005 Express to find the top five tuples related to a paragraph of text. I know I can use Full Text Indexing and CONTAINSTABLE to find rows that contain an exact phrase, but how do I get it to return the closest matches to the words in a paragraph, not the exact paragraph itself. So far the only way I can think...

SQL Server Index on VarChar(50) - Is this fulltext? Or what?

What exactly happens when I create an index in my SQL Server 2008 DB on a VarChar column. This is obviously a text column. Will it be automatically fulltext indexed or does it create a different kind of index? ...

Need help with Sql Server 2008 and Full Text Searching

Hi folks, I've setup a FTS on a single field, in a single table. Field: Name NVARHCHAR(350) NOT NULL Now, when i search for the following 1 ave 10 ave i don't get back the results i expect. Firstly, the search query 1 ave is transformed into "1*" AND "ave*". Now i run my CONTAINS(..) query... SELECT FooId, Name FROM [dbo].[Names...

Noise Words in Sql Server 2005 Full Text Search

I am attempting to use a full text search over a series of names in my database. This is my first attempt at using full text search. Currently I take the search string entered and put a NEAR condition between each term (i.e. entered phrase of "Kings of Leon" becomes "Kings NEAR of NEAR Leon"). Unfortunately I have discovered that this t...

SQL Server FTI: How to check table status?

In the SQL Server Full-Text Indexing scheme i want to know if a table is in start_chage_tracking mode update_index mode start_change_tracking and start_background_updateindex modes The problem is that i set my tables to "background update index", and then tell it to "start change tracking", but then some months later it doesn't seem ...

Problem with search query in my Sql Server stored proc

Hi folks, I have the following stored proc :- SELECT Id, Name FROM FooBars WHERE CONTAINS(Name, 'FORMSOF(Tesaurus, @query)') Works fine when there is one word i the query: eg. foo* But it fails when I want to have more than one word which i'm trying to look for. eg. foo* bar* (this means any rows that have words that start with foo a...

Full Text Search with Firebird and Delphi

I'm looking into implementing full text search on our Firebird database. Our requirements are: Every field in several tables should be indexed. When a result is found we should be able to find out the originating table. The index can be stored in the database or in the file system. The results of the search (BigInt primary keys) must b...

How can I encode Quotation marks without Asp.Net complaining?

On my site, an encoded quote (%22) in url path causes "Illegal characters in path" error I want specify search URLs like so: www.site.com/search/%22Vitamin+C%22 %22 is an encoded quotation mark " I'm using a Asp.Net URL Routing and the route is specified like this: "search/{searchTerm}" When Context["searchTerm"] is retrieved and De...

Extract small relevant bits text (as Google does) from the full text search results.

I have implemented a full text search in a discussion forum database and I want to display the search results in a way Google does. Even for a very long html page only a two or three lines of the texts displayed in a search result list. Usually these are the lines which contain a search terms. What would be the good algorithm of how to...

When using FREETEXTTABLE in ms sql server how do you search on the primary key?

I have a query using a FREETEXTTABLE full text search which works perfectly for every column included in the index except for the primary key. The primary keys are in a format like abcdef123456 and when you search for abcdef123456 you get that one record returned. However, if you search for abcd or 12345 you get no results (unless that...

Intelligent Searching with wildcards (*) and word grouping in SQL Full-text Search

What's the best way implement MS SQL full-text search using all the normal things like wildcards and quotations. For example: If the search term the user inputs is Overdose of "Vitamin C" for child* I would like to treat "Vitamin C" as one phrase and would like to match "child" and "children" The documentation offers so many al...

CONTAINS operator using '@'

Hey guys, I am trying to use the Contains operator. It works fine with test data eg. WHERE CONTAINS(file,'"*ash*"') However, I want to get the keyword from a TextBox using something like CONTAINS(file,'"*@key*"'), but this doesnt seem to work. Any suggestions please. Thanks ...

Full text searching error: Word breaking timed out

I just set up SQLSERVER 2008 Express on a new machine, and on the first database on there I created a Fulltext catalog & index. When I try to use fulltext searching, I get the following error: Msg 30053...Word breaking timed out for the full-text query string. etc. I did some searching around and it turns out it is probably bec...

How does StackOverflow suggest related questions?

Possible Duplicates: Stackoverflow Related questions algorithm Stackoverflow Search Algorithm I expected the answer to my question to appear in the Related Questions after I typed it; however, ironically, it did not. How does StackOverflow generate the list of related questions before I submit a new question? Is it using a fu...