Giter Club home page Giter Club logo

search_adserver's Introduction

Search Adserver

本项目为搜索广告系统中的AdServer模块

搜索广告基本业务流程

process

系统架构

architecture

工程架构

framework

  • 灰色部分为待完成部分。

模块介绍  

查询改写

  • 在搜索广告中,用户的搜索请求是多种多样,然而广告主所购买的关键词是有局限性的。如果按照搜索关键词与广告主购买关键词完全的一致的方式去检索广告,会造成广告召回数量的不足,影响搜索引擎与广告主的收益。因此,搜索引擎需求将用户的搜索请求进行改写,可以改写为语义相近的关键词,或者是直接改写为广告相关的属性,如ID,借此增加广告召回。
  • 本系统中的查询改写属于Broad match的范畴,采用的初步方案是利用word embedding进行语义相关的改写。
  • 当服务器接受到用户的搜索请求后,首先使用jieba分词对于请求分词。然后将切开的词交给word2vec模型寻找近义词。
  • 模块使用wiki中文作为语料库,训练word2vec模型。
  • 项目地址:https://github.com/dwt0317/QueryRewritingService

广告检索

  • 广告检索目前的实现较为简单。模块使用Elasticsearch。在初次构建索引时,首先在数据库中检索所有广告并封装为JSON的形式。然后以JSON结果为数据源,通过设置对keyword的mapping,将每个keyword识别为一个词,构建倒排索引。

广告排序

日志收集

  • 日志收集采用了业界比较常用的Flume+Hadoop。搜索、投放、点击日志按天存储到hdfs中。

search_adserver's People

Contributors

dwt0317 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.