You are here:

Thư Viện Số Trực Tuyến

Hỗ trợ trực tuyến : Nhắp vào đây để liên hệ với tôi 0944.625.325 Click để liên hệ mail cho tôi
Computer

Bookmark and Share

Sphinx Search Beginner’s Guide - Abbas Ali, 244 Pages

http://www.thuvienso.info - This book is a step-by-step guide for an absolute beginner. It covers everything, from installing to configuring, to get you started quickly. It has numerous code examples that the reader can try on their own and learn while doing so. It has two full-fledged applications as examples that readers can follow. This book is specifically focused on the Search feature of web applications. This book is for developers who are new to Sphinx Search. All code examples use PHP but the logic is same for any other web scripting languages as well.
- Sphinx is an opensource search engine that instead of doing real-time searches, works by building indexes of the data and then allowing really fast search operations using those indexes. This book explains all basics (including setup), then goes into deep detail of searching: modes, modifiers, attributes, filters (both basic and advanced/low-level), grouping, indexing and delta indexing... It also deals with how to modify configuration, from sources to Sphinx API specific parameters, change or extend the charset tables.. My complains about this book are two:
From 244 pages it has around 100 of two PHP examples. Having a "full PHP website example" is ok, but two of them looks more like "page filling" than real interest on explaining concepts (both could just be combined).
And more importantly, the author seems to deriberately avoid complex stuff like partial word matches: For example, how does Sphinx matches "Ser" or "Serg" or "Sergi" if we have indexed "Sergio"? Do them all get the same weight for the result? What happens with each different SPH_MATCH_xxx machting mode?
To compensate a bit for those complains, we'r explained a few interesting and non-basic concepts: How to setup distributed indexes (distributed among multiple sphinx servers). How the morphology works, how to use it for stemming (reducing a word to their stem) and how the morphologic processor works in sphinx. This is not used by default so is a good addition. It even mentions "wordforms", mappings of words to handle synonyms.  The book ends with a brief introduction to SphinxQL, to use it from MySQL if you feel more confortable writing SQL queries. So, overall you get a really good view of how this search engine works, including some advanced topics. It just lacks more depth in some of the explained subjects instead of so many (trivial) examples.
- A disturbing point about this book is that it shows (or claims to show) that the popular MySql has a very slow implementation of full text searching. I thought that MySql would have a fairly efficient coding. But Ali describes how the creator of Sphinx was able to demonstrate that in some types of full text searching, Sphinx ran up to 100 times faster. The most germane section of the book is the table at the end of Chapter 2, which has a comparison between MySql, Lucene and Sphinx. Where Lucene is, like Sphinx, an external engine that sits on top of MySql.
Assuming that the results of that table are generally true [and I did not independently verify this], then you have compelling evidence for migrating to Sphinx if you run a MySql database and want fast full text searching.
One neat aspect of the book is that in several chapters, where different topics are explored, the chapters commence with a list of the tools used, along with their versions. So for one chapter, we have PHP 5.3.2, Apache 2.2.14, MySql 5.1.14, Sphinx 0.9.9, phpMyAdmin, Ubuntu 10.04 LTS, Firefox 3.6 and SimplePie 1.2+. The explicit nature is useful, if you want to replicate the results. It also shows how the promise of open source packages being interoperable is coming true. But, and I must say this, if you have any experience with such things, it also suggests potential pitfalls when your configuration is dependent on some many different packages and often too on the specific versions of those.

Nguồn : Internet
Tác giả : Abbas Ali
Kiểu tập tin : PDF
Độ lớn tập tin : 6MB
Đăng bởi : Thanh Ngoc
Cập nhật : 30.11.2011
Số lượt xem : 267
Số lượt tải : 6


Bạn phải đăng nhập mới có thể download
Các tin liên quan mới nhất:
Các tin trước đó:

Thành Viên

 Bùi Nhã Quyên
748
 NGUYEN Tuan Anh
679
 nguyen tran thuy trang
666
 momo momox
654
 Vinh Bui
649
 vuabongda85
646
 Pham Thi Hoang Anh
625
 trần anh thụ
624
 dmt
617
 Nguyễn Hồng Ánh
617
 SANG TRUONG
399
 Hoàng Văn Hải
383
 Vũ Mạnh Dũng
342
 Pham Dinh Lam
335
 HAI VAN
328
 nam tang
322
 william hoang
322
 Nguyễn Nhiên
316
 Lam Trinh
313
 nguyen uyen
310
 thanhagg098
303
 Bui Duc Chung
289
 Garu
286
 Long Khong
262
 Tran Thuy Bang Chau
238
 Đinh Hiệp Dũng
228
 David Phan
223
 Nguyen Xuan Dung
212
 Thanh Nhu
203
 Traihai4
196
 Phan Anh Tu
175
 Nguyễn Văn Nam
174
 Kyou
167
 Trần Thanh Tùng
155
 Chuoichat
150
 Huỳnh Thị Kim Mai
150
 minh vong
149
 Phan Phương Thảo
139
 Dang Bac
137
 Dai Co Viet
135
 Hứa Văn Thành
134
 Nguyen Van An
130
 anhlt08104
129
 Long Nguyen
127
 Hung Nguyen
126
 Le Phuong Thao
125
 vu thang
116
 funny_hippo
115
 nguyen thanh khai
111
 minhquan
108
 ngaymoi
104
 Den Ngoc Son
103
 Lê Hữu Ngọc
90
 Trần Châu Tâm
87
 Nguyễn Canh Thân
75
 Tuan Tran
73
 Nguyễn Thị Ngọc Hạnh
57
 Campos Hector
54
 truong lam
45
 lê hoàng việt
45
 Quoc Thai
45
 QUANG VAN LE
45
 lien
36
 BIEN XUAN DUNG
35
 Ta Tri Nhan
34
 phan duc be
33
 Pham Thanh Tan
25
 Ngo Duc Mau
25
 Thanh An
23
 panyucheng
22
 thien
15
 Huỳnh Uyên Vũ
14
 Nguyen Van Minh
14
 Tra Thi My Phuong
14
 võ phạm trưuờng an
12
 Hà San
12
 inguyentri
11
 Nguyễn Thị Kim Vân
11
 Nguyen Mai Tu Oanh
7
 thuygiang
5
 Hướng
5
 Nguyen Thi Thuy
2
 le duy phuc
1
 nguyenphuongmai
1
 Lê Đình Thuận
1
 tran long
1
 Nghĩa Hưng
1
 ta thi lan
1
 lehoang
1
 Trần Thị Lan
1
 Thiên Kim
1
 Võ Văn Thiện
1
 trang
1
 Minh Duc
1
 Trần Hồng Phúc
1
 lekinhquoc
1
 nguyễn chí công
1
 NGUYỄN VĂN LỤC
1
 Lưu Thị Phương Liên
1
 dao dinh tuan
1

Hỗ trợ trực tuyến

Mr Hạnh
ĐT: 0944.625.325

Lịch Vạn Niên

Phần mềm hỗ trợ

Phần mềm nén và giải nén, hỗ trợ nhiều định dạng thông dụng như : Zip, Rar, 7z, Tar, Bzip, Gzip2,...Phần mềm đọc các tập tin định dạng PDFPhần mềm đọc các tập tin có định dạng DJVUPhần mềm hỗ trợ download rất phổ biến hiện nayPhần mềm đọc các tập tin dạng : ISO,UIF, MDF, IMG, NRG, DMG, DAA,...Codec xem phim, nghe nhạcPhần mềm đọc các tập tin có định dạng PRCPhần mềm đọc các tập tin dạng TIFF, TIFPhần mềm dùng để cắt và nối tập tin dạng *.001,*.002,...


Hiện có 17948 khách và 152 thành viên Trực tuyến

Để tra cứu bất kì từ nào trên website, click đúp lên từ muốn tra