APP下载

基于.net构建海量非结构文本与用户行为协同的搜索引擎研究

2018-08-15李德华巩宇张自锋杨小龙

软件工程 2018年5期
关键词:搜索引擎

李德华 巩宇 张自锋 杨小龙

摘 要:从全文检索的原理出发,介绍搜索引擎和全文检索的索引原理和机制,通过实例讲述如何创建lucene索引、如何管理索引。通过索引的目录结构和内容结构的分析,讨论了基于.net平台如何使用lucene的索引功能创建搜索引擎。目前多数项目采用Java、C++等为开发语言,构建索引器。本文提出基于.net的索引器的设计实例分析,解决了在.net开发环境下,海量非结构文本搜索的问题。結合用户行为理论优化搜索引擎的用户体验,增加用户粘性,提高用户的忠诚度。

关键词:搜索引擎;索引器;.net;Lucene;用户行为

中图分类号:TP315 文献标识码:A

Abstract:Starting from the principle of full-text search,this paper introduces the indexing principle and mechanism of search engine and full-text search.It describes how to create a lucene index and how to manage the index through an example.Through the analysis of the index's directory structure and content structure,we discussed how to use lucene's indexing function to create a search engine based on .net platform.At present,most projects use Java,C++,etc.as the development language and build indexers.This paper presents a design example analysis of a net-based indexer and solves the problem of massive unstructured text search under .net development environment.Combining user behavior theory to optimize the user experience of search engines,increase user stickiness and increase user loyalty.

Keywords:search engine;indexer; .net;Lucene;user behavior

1 引言(Introduction)

搜索引擎技术发展迅速,各大公司相继推出自己的产品,包括百度搜索、360搜搜、搜狗搜索、google搜索、bing搜索等,各个产品之间竞争激烈,因此如何提高用户的体验,保证产品的热度,在竞争中取得更多的市场分额,这成为了许多专家和学者研究的焦点。许多专家经过研究,提出结合用户的行为理论和用户行为属性,优化数据的索引操作(Indexing),把用户的行为优化到搜索引擎索引器中。

2 搜索引擎与用户行为理论(Search engine and

user behavior theory)

搜索引擎是一项以互联网信息为基础,进行信息资源的搜集、发现、理解、提取和处理的系统工程,为用户提供信息搜索服务,并对信息进行基于多种算法的理解和解析,为用户提供个性化的信息服务,是人们获取信息的工具,搜索引擎已经成为人们进入Internet门户。用户行为理论是指用户获取、使用相关的物品或服务,所产生的各项活动,用户对使用对象的认知和使用,有一个完整的过程。……

登录APP查看全文

猜你喜欢

搜索引擎
Chrome 99 Canary恢复可移除预置搜索引擎选项
网络搜索引擎亟待规范
Nutch搜索引擎在网络舆情管控中的应用
广告主与搜索引擎的双向博弈分析
基于Lucene搜索引擎的研究
知识漫画
一种自反馈式元搜索系统的设计
搜索引擎,不止有百度与谷歌
搜索,也要“深搜熟滤”
浅析搜索引擎的原理及发展前景