Re: Problem using FREETEXT
- From: "Hilary Cotter" <hilary.cotter@xxxxxxxxx>
- Date: Thu, 28 Jun 2007 05:49:40 -0400
Freetext does not support Boolean.
--
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
<bosuch@xxxxxxxxx> wrote in message
news:1182976764.479515.63810@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I've got a .Net web page using OleDb to query my catalog. The query
string looks like this:
Select Filename, Size, Path, Create, Rank from SCOPE(" + scope + ")
where FREETEXT(Contents,'" + TextBox1.Text + "') order by Rank desc
The problem is that I can't get a boolean operator to limit the
documents returned. For example, I search using "smith AND cindy" and
get 66 documents back. The first two, with a Rank of 105, contain both
words, but the rest (with ranks below 65 or so) only contain one of
the words.
How can I limit it to only return the two matching documents?
.
- References:
- Problem using FREETEXT
- From: bosuch
- Problem using FREETEXT
- Prev by Date: Problem using FREETEXT
- Next by Date: Re: backup software for indexing service
- Previous by thread: Problem using FREETEXT
- Next by thread: Re: backup software for indexing service
- Index(es):