搜索保存在sql server中的文件中的单词或句子 [英] search a word or sentence inside files saved in sql server

查看:114
本文介绍了搜索保存在sql server中的文件中的单词或句子的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好.

我将文件(例如:doc或pdf文件)保存在Sql Server数据库中. 现在,我要搜索保存在其中的文件中的单词或句子.

有可能吗?
如果可能的话:
1-我该怎么办?
2-如何检索搜索结果(例如:检索包含单词或句子的页面)?

TNX

Hi all.

I saved files ( for example: doc or pdf files) in Sql Server Database.
Now i am going to search a word or sentence inside files saved in it.

Is it possible?
If it''s possible:
1- How do i do it?
2- How do i retrieve result of searching ( for example: retrieve pages that they contain that a word or sentence )?

TNX

推荐答案

您是什么意思将文件保存在数据库中?它们的路径或实际内容?

无论如何,如果您想高效地执行此操作,则应了解一下聚类算法.从此处开始,然后继续使用更多算法.

但是请注意,如果您对此一无所知,则不会在一下午内这样做.

欢呼
What do you mean you saved the files in the database? Their paths or their actual contents?

Anyway, if you want to do this efficiently, you should take a look at clustering algorithms. Start here then move on to something more algorithmic.

Be warned though, if this is something you know nothing about, you wont do it in one afternoon.

cheers


这篇关于搜索保存在sql server中的文件中的单词或句子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆