| |

VerySource

 Forgot password?
 Register
Search
View: 1333|Reply: 9

On the issue of full-text indexing, urgent, masters.

[Copy link]

1

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-2-24 17:00:01
| Show all posts |Read mode
In a certain table, select count (*) has 150,000 records, but the full-text index to view the unique key count is only about 70,000.
Using select * from tb_example where patindex ('% example%', fdTitle) can find 5 pieces of data, but searching the full-text index select * from tb_example where contains (fdTitle, '"* 例 *"') has only 2 pieces of data, and The full-text index has been completely populated, and it has also been incrementally populated. It should be that many have not been indexed. Excuse me, what is going on?
Thank you! ~~
Reply

Use magic Report

0

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-5-11 09:15:01
| Show all posts
It does n’t feel like the index is incomplete ...
Reply

Use magic Report

1

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

 Author| Post time: 2020-5-11 21:45:01
| Show all posts
sayiken
What's going on? The number of unique keys in the indexed attribute is not 150,000
Reply

Use magic Report

0

Threads

114

Posts

69.00

Credits

Newbie

Rank: 1

Credits
69.00

 China

Post time: 2020-5-12 18:45:01
| Show all posts
Specify the full-text catalog
Reply

Use magic Report

0

Threads

114

Posts

69.00

Credits

Newbie

Rank: 1

Credits
69.00

 China

Post time: 2020-5-12 22:15:02
| Show all posts
Is there more than 450 bytes in the unique key?
Reply

Use magic Report

1

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

 Author| Post time: 2020-5-15 12:30:01
| Show all posts
Specify full-text catalog? How to specify?
450 bytes? Should n’t it be that long?
Reply

Use magic Report

1

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

 Author| Post time: 2020-5-26 23:30:01
| Show all posts
我是杀人狂, what happens if it exceeds 450 bytes?
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-18 17:30:01
| Show all posts
I also encountered a similar problem. I feel that the hit rate of the full-text index is really difficult to guarantee.
Reply

Use magic Report

0

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-8-28 07:15:01
| Show all posts
There seems to be no way. The results of the full-text search are less each time. I haven't found more. Haha
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-28 07:30:01
| Show all posts
[code=SQL]While fulltextcatalogproperty('abc','populateStatus')<>0
begin

--If the full-text catalog is being filled, wait for 30 seconds and check again
waitfor delay '0:0:30'
end[/code]
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list