aja 220. efficient and efficient updated data retrieval system continuous text search queries

13
8/11/2019 Aja 220. Efficient and Efficient Updated Data Retrieval System Continuous Text Search Queries http://slidepdf.com/reader/full/aja-220-efficient-and-efficient-updated-data-retrieval-system-continuous-text 1/13  AJA 220. EFFICIENT  AND EFFICIENT UPDATED DATA RETRIEVAL SYSTEM CONTINUOUS TEXT SEARCH QUERIES

Upload: malleesvari-senthil-kumar

Post on 03-Jun-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Aja 220. Efficient and Efficient Updated Data Retrieval System Continuous Text Search Queries

8/11/2019 Aja 220. Efficient and Efficient Updated Data Retrieval System Continuous Text Search Queries

http://slidepdf.com/reader/full/aja-220-efficient-and-efficient-updated-data-retrieval-system-continuous-text 1/13

 AJA 220. EFFICIENT

 AND EFFICIENTUPDATED DATA

RETRIEVAL SYSTEMCONTINUOUS TEXT

SEARCH QUERIES

Page 2: Aja 220. Efficient and Efficient Updated Data Retrieval System Continuous Text Search Queries

8/11/2019 Aja 220. Efficient and Efficient Updated Data Retrieval System Continuous Text Search Queries

http://slidepdf.com/reader/full/aja-220-efficient-and-efficient-updated-data-retrieval-system-continuous-text 2/13

ABSTRACT

Consider a text filtering server that monitors a stream ofincoming documents for a set of users, who register theirinterests in the form of continuous text search queries. Thetask of the server is to constantly maintain for each query aranked result list, comprising the recent documents (drawn

from a sliding window) with the highest similarity to thequery. Such a system underlies many text monitoringapplications that need to cope with heavy document traffic,such as news and email monitoring. In this paper, we proposethe first solution for processing continuous text queries

efficiently. Our objective is to support a large number of userqueries while sustaining high document arrival rates. Oursolution indexes the streamed documents in main memorywith a structure based on the principles of the inverted file, and

 processes document arrival and expiration events with anincremental threshold-based method.

Page 3: Aja 220. Efficient and Efficient Updated Data Retrieval System Continuous Text Search Queries

8/11/2019 Aja 220. Efficient and Efficient Updated Data Retrieval System Continuous Text Search Queries

http://slidepdf.com/reader/full/aja-220-efficient-and-efficient-updated-data-retrieval-system-continuous-text 3/13

INTRODUCTION

THE increased use of digital information channels, such as

email, electronic news feeds, and automation of businessreporting functions, coupled with the importance of makingtimely decisions, raise the need for a continuous text searchmodel. In this model, new documents arrive at a monitoringserver in the form of a stream. The server hosts many textsearch queries that are installed once and remain active untilterminated by the users. Each query Q continuously retrieves,from a sliding window of the most recent documents [1], the kthat are most similar to a fixed set of search terms. Forinstance, a security analyst who monitors email traffic for

 potential terror threats would register several standing queries

to identify recent emails that most closely fit certain threat profiles (e.g., emails that mention names of explosives or possible biological weapons). As another example, aninvestment manager who is interested in a portfolio ofindustries and companies would monitor newsflashes from hisinformation provider (e.g., Reuters, Bloomberg, etc.)

Page 4: Aja 220. Efficient and Efficient Updated Data Retrieval System Continuous Text Search Queries

8/11/2019 Aja 220. Efficient and Efficient Updated Data Retrieval System Continuous Text Search Queries

http://slidepdf.com/reader/full/aja-220-efficient-and-efficient-updated-data-retrieval-system-continuous-text 4/13

to identify those that are relevant to his portfolio. Wordsrelated to the industries of interest can be formulated as

standing text queries over the newsflashes. With the samenews report stream, another user could be an entrepreneur whois tracking developments about competing products. All theabove cases can be modeled as continuous text search queries.The continuous text search model involves two key notions:

documents (with lower scores). In contrast, top-k rankingregulates in a natural way the size of the output and may beconfigured (using parameter k) according to the capacity of theend-user or the trigger processes. An example of a query witha time- based window is “Monitor the 10 documents receivedin the last 15 minutes that best match the string {weapons of

mass destruction}.” The count-based counterpart of thisexample is “Continuously report the 10 documents among the1,000 most recent ones that best match the string {weapons ofmass destruction}.” For heavy-traffic streams, the system must

 be able to update the ranked results of all user queries

efficiently enough to keep pace with document arrivals.

Page 5: Aja 220. Efficient and Efficient Updated Data Retrieval System Continuous Text Search Queries

8/11/2019 Aja 220. Efficient and Efficient Updated Data Retrieval System Continuous Text Search Queries

http://slidepdf.com/reader/full/aja-220-efficient-and-efficient-updated-data-retrieval-system-continuous-text 5/13

That is the primary technical challenge addressed in thiswork.Previous studies on document filtering (e.g., [3]) havefocused on techniques for adaptively setting a similarity

threshold to determine whether each document is relevant to aquery. However, the problem of efficiently maintaining the listof the k most relevant documents has not been considered.Existing schemes for continuous top-k processing (e.g., [4]),on the other hand, rely on spatial index structures. In textretrieval, each term in the dictionary is considered adimension. Since a realistic dictionary typically contains morethan 100,000 terms, the dimensionality far exceeds thecapabilities of any spatial index structure, thus ruling out theapplication of those schemes. In this paper, we present the firstsolution for continuous text search over high-volume

document streams. At its core lies a memory-based indexsimilar to the conventional inverted file, complemented withfast update techniques and book-keeping structures.

Page 6: Aja 220. Efficient and Efficient Updated Data Retrieval System Continuous Text Search Queries

8/11/2019 Aja 220. Efficient and Efficient Updated Data Retrieval System Continuous Text Search Queries

http://slidepdf.com/reader/full/aja-220-efficient-and-efficient-updated-data-retrieval-system-continuous-text 6/13

We compute the first-time result of a query with a threshold- based algorithm on the inverted lists. The thresholds derivedare used for subsequent result maintenance, and specifically 1)to avoid unnecessarily processing documentarrivals/expirations that cannot affect the query, and 2) to

incrementally and efficiently update the result whenever somestream event does affect the query. Depending on how

 promptly/ aggressively the thresholds are updated when thequery result changes, we distinguish between the Eager andLazy versions of our Incremental Threshold algorithm (EIT

and LIT, respectively). Experiments with real documentstreams and benchmark queries confirm the efficiency of ourscheme on the whole, and show that it vastly outperforms a

 baseline competitor that we constructed from previousmethods for related problems. The rest of the paper isstructured as follows: Section 2 provides a background on text

retrieval and reviews related work. Section 3 formulates theaddressed problem and describes a competitor based onexisting techniques. Section 4 presents our proposed solution,including the index structures and the query processingalgorithms employed. Section 5 experimentally evaluates our

approach and its variants. Finally, Section 6 concludes the paper.

Page 7: Aja 220. Efficient and Efficient Updated Data Retrieval System Continuous Text Search Queries

8/11/2019 Aja 220. Efficient and Efficient Updated Data Retrieval System Continuous Text Search Queries

http://slidepdf.com/reader/full/aja-220-efficient-and-efficient-updated-data-retrieval-system-continuous-text 7/13

EXISTING SYSTEM

Consider a text filtering server that monitors a stream ofincoming documents for a set of users, who register theirinterests in the form of continuous text search queries. Thetask of the server is to constantly maintain for each query aranked result list, comprising the recent documents (drawn

from a sliding window) with the highest similarity to thequery. Such a system underlies many text monitoringapplications that need to cope with heavy document traffic,such as news and email monitoring. In this paper

Page 8: Aja 220. Efficient and Efficient Updated Data Retrieval System Continuous Text Search Queries

8/11/2019 Aja 220. Efficient and Efficient Updated Data Retrieval System Continuous Text Search Queries

http://slidepdf.com/reader/full/aja-220-efficient-and-efficient-updated-data-retrieval-system-continuous-text 8/13

PROPOSED MODEL

we propose the first solution for processing continuous text

queries efficiently. Our objective is to support a large number

of user queries while sustaining high document arrival rates.

Our solution indexes the streamed documents in main memory

with a structure based on the principles of the inverted file, and processes document arrival and expiration events with an

incremental threshold-based method.

Page 9: Aja 220. Efficient and Efficient Updated Data Retrieval System Continuous Text Search Queries

8/11/2019 Aja 220. Efficient and Efficient Updated Data Retrieval System Continuous Text Search Queries

http://slidepdf.com/reader/full/aja-220-efficient-and-efficient-updated-data-retrieval-system-continuous-text 9/13

PROPOSED MODEL

In this Project, we Propose the scheme of Slidingwindow which updates the latest information withrespect to time and updated data. We also propose toremove the duplication of the Records in the web

content. We also get the feedback from the previoususers of the corresponding website. So finally weimplement the ranking process by getting the feedbackfrom the users, removal of duplication along with sliding

window approach 

Page 10: Aja 220. Efficient and Efficient Updated Data Retrieval System Continuous Text Search Queries

8/11/2019 Aja 220. Efficient and Efficient Updated Data Retrieval System Continuous Text Search Queries

http://slidepdf.com/reader/full/aja-220-efficient-and-efficient-updated-data-retrieval-system-continuous-text 10/13

SYSTEM SPECIFICATION 

HARDWARE REQUIREMENTS 

Processor : Pentium IV

RAM : 512 MB

HDD : 80 GB

SOFTWARE REQUIREMENTS 

Platform :Windows Xp

Front End : Java JDK1.5,

Back End :MS SQL server

Page 11: Aja 220. Efficient and Efficient Updated Data Retrieval System Continuous Text Search Queries

8/11/2019 Aja 220. Efficient and Efficient Updated Data Retrieval System Continuous Text Search Queries

http://slidepdf.com/reader/full/aja-220-efficient-and-efficient-updated-data-retrieval-system-continuous-text 11/13

ARCHITECTURE DIAGRAM

Page 12: Aja 220. Efficient and Efficient Updated Data Retrieval System Continuous Text Search Queries

8/11/2019 Aja 220. Efficient and Efficient Updated Data Retrieval System Continuous Text Search Queries

http://slidepdf.com/reader/full/aja-220-efficient-and-efficient-updated-data-retrieval-system-continuous-text 12/13

REFERENCES [1] B. Babcock, S. Babu, M. Datar, R. Motwani, and J.

Widom, “Models and Issues in Data Stream Systems,” Proc.

Twenty-First ACM SIGMOD-SIGACT-SIGART Symp.Principles of Database Systems (PODS ’02), pp. 1-16, 2002.

[2] J. Zobel and A. Moffat, “Inverted Files for Text SearchEngines,” ACM Computing Surveys, vol. 38, no. 2, pp. 1-55,July 2006.

[3] Y. Zhang and J. Callan, “Maximum Likelihood Estimationfor Filtering Thresholds,” Proc. 24th Ann. Int’l ACM SIGIRConf. Research and Development in Information Retrieval(SIGIR ’01), pp. 294-302, 2001.

[4] K. Mouratidis, S. Bakiras, and D. Papadias, “Continuous

Monitoring of Top-k Queries over Sliding Windows,” Proc.ACM SIGMOD Int’l Conf. Management of Data (SIGMOD’06), pp. 635- 646, 2006.

[5] M. Persin, J. Zobel, and R. Sacks-Davis, “FilteredDocument Retrieval with Frequency-Sorted Indexes,” J. Am.Soc. for Information Science, vol. 47, no. 10, pp. 749-764,1996.

Page 13: Aja 220. Efficient and Efficient Updated Data Retrieval System Continuous Text Search Queries

8/11/2019 Aja 220. Efficient and Efficient Updated Data Retrieval System Continuous Text Search Queries

http://slidepdf.com/reader/full/aja-220-efficient-and-efficient-updated-data-retrieval-system-continuous-text 13/13

6] V.N. Anh, O. de Kretser, and A. Moffat, “Vector -SpaceRanking with Effective Early Termination,” Proc. 24th Ann.Int’l ACM SIGIR Conf. Research and Development in

Information Retrieval (SIGIR ’02), pp. 35-42, 2001. [7] V.N. Anh and A. Moffat, “Impact Transformation:

Effective and Efficient Web Retrieval,” Proc. 25th Ann. Int’lACM SIGIR Conf. Research and Development in InformationRetrieval (SIGIR ’02), pp. 3-10, 2002.

[8] H.R. Turtle and J. Flood, “Query Evaluation: Strategiesand Optimizations,” Information Processing Management, vol.31, no. 6, pp. 831-850, 1995.

[9] M. Kaszkiel, J. Zobel, and R. Sacks-Davis, “EfficientPassage Ranking for Document Databases,” ACM Trans.

Information Systems, vol. 17, no. 4, pp. 406-439, 1999. [10] T. Strohman, H. Turtle, and W.B. Croft, “Optimization

Strategies for Complex Queries,” Proc. Research andDevelopment in Information Retrieval (SIGIR ’05), pp. 219-225, 2005.