efficient instant fuzzy search with proximity ranking

17
Efficient Instant-Fuzzy Search with Proximity Ranking www.ocularsystems.in Contact: 020 30858066 IEEE Projects @Ocular Systems For Computer Engineering Students

Upload: ocular-systems

Post on 29-Jun-2015

668 views

Category:

Engineering


1 download

DESCRIPTION

Efficient Instant-Fuzzy Search with Proximity Ranking System finds answers to a query instantly while user types in keywords character-by-character. Fuzzy search improves user search experiences by finding relevant answers with keywords similar to query keywords. A main computational challenge in this paradigm is the high speed requirement At the same time, we also need good ranking functions that consider the proximity of keywords to compute relevance scores The previous systems were able to recommend results based on just previously typed characters kept in cache module. Most of the times Previous Search Log might be useful to make recommendation system more faster! Relevance to user query along with users intentions could be mined easily.

TRANSCRIPT

Page 1: Efficient instant fuzzy search with proximity ranking

Efficient Instant-Fuzzy Search with Proximity Ranking

www.ocularsystems.inContact: 020 30858066

IEEE Projects @Ocular Systems For Computer EngineeringStudents

Page 2: Efficient instant fuzzy search with proximity ranking

Abstract• System finds answers to a query instantly while

user types in keywords character-by-character. • Fuzzy search improves user search experiences

by finding relevant answers with keywords similar to query keywords.

• A main computational challenge in this paradigm is the high speed requirement

• At the same time, we also need good ranking functions that consider the proximity of keywords to compute relevance scores

Page 3: Efficient instant fuzzy search with proximity ranking

Problem Statement & Proposed

Solution• Problem Statement:

o Achieving efficient time & space complexities.

• Solution: o Index phrases with proper indexing scheme and o Develop an incremental-computation algorithm for efficiently

segmenting a query into phrases and computing relevant answers.

• Result Metrics: Experimental study on real data sets to show the tradeoffs between time, space, and quality of these solutions.

Page 4: Efficient instant fuzzy search with proximity ranking

Literature Survey• K. Grabski and T. Scheffer, “Sentence

completion,” in SIGIR, 2004, pp.433–439.• A. Nandi and H. V. Jagadish, “Effective phrase

prediction,” in VLDB, 2007, pp. 219–230.o They have proposed system on predicting queries. Many

systems do prediction by treating a query with multiple keywords as a single prefix string.

o Therefore, if a related suggestion has the query keywords but not consecutively, then this suggestion cannot be found.

Page 5: Efficient instant fuzzy search with proximity ranking

Literature Survey Cont..

• H. Bast and I. Weber proposed many indexing and query techniques to support instant search.

• M. Hadjieleftheriou and C. Li, K. Chakrabarti, S. Chaudhuri, V. Ganti, and D. Xin, S. Chaudhuri, V. Ganti, and R. Motwani: Suggested former approach, sub-strings of the data are used for fuzzy string matching

• S. Ji, G. Li, C. Li, and J. Feng: This approach is especially suitable for instant and fuzzy search since each query is a prefix and trie can support incremental computation efficiently.

Page 6: Efficient instant fuzzy search with proximity ranking

Literature Survey Cont..

• R. Fagin, A. Lotem, and M. Naor, F. Zhang, S. Shi, H. Yan, and J.-R. Wen: Extensively to support top-k queries efficiently

• G. Li, J. Wang, C. Li, and J. Feng, “Supporting efficient top-k queries in type-ahead search,” in SIGIR, 2012, pp. 355–364.o Adopted existing top-k algorithms to do instant-fuzzy

search. o Most of these studies reorganize an inverted index to

evaluate more relevant documents first.• Persin et al. proposed using inverted lists sorted by

decreasing document frequency. • Zhang et al. studied the effect of term-independent

features in index reorganization.

Page 7: Efficient instant fuzzy search with proximity ranking

General Idea of Instant Search

Page 8: Efficient instant fuzzy search with proximity ranking

Architecture

Page 9: Efficient instant fuzzy search with proximity ranking

Example Table for Architecture Explanation

This data is structured in indexed format.Two types of indices are used to structure this data

1. Trie Indices2. Forward Indices

Page 10: Efficient instant fuzzy search with proximity ranking

Basic Blocks In Architecture

Indices1.Trie2.Forward

Page 11: Efficient instant fuzzy search with proximity ranking

Basic Blocks In Architecture

• Phrase Validator: o When a search server receives a request, it first

identifies all the valid phrases in the query that are in the dictionary D, and intersects their inverted lists.

o The Phrase Validator computes and returns the active nodes for all these terms.

o If a query keyword appears in multiple valid phrases, the query can be segmented into phrases.

• Query Plan Builder: o After identifying the valid phrases, the Query Plan

Builder generates a Query Plan Q, which contains all the possible valid segmentations in a specific order.

o The ranking of Q determines the order in which the segmentations will be executed.

Page 12: Efficient instant fuzzy search with proximity ranking

Basic Blocks In Architecture Cont….

• Index Searcher: After Q is generated, the segmentations are passed into the Index Searcher one by one until the top-k answers are computed, or all the segmentations in the plan are used.

• Cache Module: o The Phrase Validator uses the Cache module to validate

a phrase without traversing the trie from scratch, o while the Index Searcher benefits from the Cache by

being able to retrieve the answers to an earlier query to reduce the computational cost.

Page 13: Efficient instant fuzzy search with proximity ranking

Phrase Validator

Page 14: Efficient instant fuzzy search with proximity ranking

Phrase Validator With Cache Module

Page 15: Efficient instant fuzzy search with proximity ranking

Own Contributions• Implementing Demand Paging Algorithm with

efficient page replacement strategy will be advantageous for this application.

• Previous searches could be the part of next search history, so we will put log/ history in page table and retrieve pages efficiently as per query keyword requirements.

• Different “Page Replacement Strategies” could be proposed to give extremely faster recommendations.

• Architecture like Translation Look Aside Buffer could be employed to fetch pages from TLB.

Page 16: Efficient instant fuzzy search with proximity ranking

Proposed Architecture

Page 17: Efficient instant fuzzy search with proximity ranking

Conclusion• The previous systems were able to recommend

results based on just previously typed characters kept in cache module.

• Most of the times Previous Search Log might be useful to make recommendation system more faster!

• Relevance to user query along with users intentions could be mined easily.