Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Side by Side Diff: third_party/sqlite/test/fts3near.test

Issue 3108030: Move bundled copy of sqlite one level deeper to better separate it... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/sqlite/test/fts3expr2.test ('k') | third_party/sqlite/test/func.test » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1
2 # 2007 October 15
3 #
4 # The author disclaims copyright to this source code. In place of
5 # a legal notice, here is a blessing:
6 #
7 # May you do good and not evil.
8 # May you find forgiveness for yourself and forgive others.
9 # May you share freely, never taking more than you give.
10 #
11 #*************************************************************************
12 #
13 # $Id: fts3near.test,v 1.3 2009/01/02 17:33:46 danielk1977 Exp $
14 #
15
16 set testdir [file dirname $argv0]
17 source $testdir/tester.tcl
18
19 # If SQLITE_ENABLE_FTS3 is defined, omit this file.
20 ifcapable !fts3 {
21 finish_test
22 return
23 }
24
25 db eval {
26 CREATE VIRTUAL TABLE t1 USING fts3(content);
27 INSERT INTO t1(content) VALUES('one three four five');
28 INSERT INTO t1(content) VALUES('two three four five');
29 INSERT INTO t1(content) VALUES('one two three four five');
30 }
31
32 do_test fts3near-1.1 {
33 execsql {SELECT docid FROM t1 WHERE content MATCH 'one NEAR/0 three'}
34 } {1}
35 do_test fts3near-1.2 {
36 execsql {SELECT docid FROM t1 WHERE content MATCH 'one NEAR/1 two'}
37 } {3}
38 do_test fts3near-1.3 {
39 execsql {SELECT docid FROM t1 WHERE content MATCH 'one NEAR/1 three'}
40 } {1 3}
41 do_test fts3near-1.4 {
42 execsql {SELECT docid FROM t1 WHERE content MATCH 'three NEAR/1 one'}
43 } {1 3}
44 do_test fts3near-1.5 {
45 execsql {SELECT docid FROM t1 WHERE content MATCH '"one two" NEAR/1 five'}
46 } {}
47 do_test fts3near-1.6 {
48 execsql {SELECT docid FROM t1 WHERE content MATCH '"one two" NEAR/2 five'}
49 } {3}
50 do_test fts3near-1.7 {
51 execsql {SELECT docid FROM t1 WHERE content MATCH 'one NEAR four'}
52 } {1 3}
53 do_test fts3near-1.8 {
54 execsql {SELECT docid FROM t1 WHERE content MATCH 'four NEAR three'}
55 } {1 2 3}
56 do_test fts3near-1.9 {
57 execsql {SELECT docid FROM t1 WHERE content MATCH '"four five" NEAR/0 three'}
58 } {1 2 3}
59 do_test fts3near-1.10 {
60 execsql {SELECT docid FROM t1 WHERE content MATCH '"four five" NEAR/2 one'}
61 } {1 3}
62 do_test fts3near-1.11 {
63 execsql {SELECT docid FROM t1 WHERE content MATCH '"four five" NEAR/1 one'}
64 } {1}
65 do_test fts3near-1.12 {
66 execsql {SELECT docid FROM t1 WHERE content MATCH 'five NEAR/1 "two three"'}
67 } {2 3}
68 do_test fts3near-1.13 {
69 execsql {SELECT docid FROM t1 WHERE content MATCH 'one NEAR five'}
70 } {1 3}
71
72 do_test fts3near-1.14 {
73 execsql {SELECT docid FROM t1 WHERE content MATCH 'four NEAR four'}
74 } {}
75 do_test fts3near-1.15 {
76 execsql {SELECT docid FROM t1 WHERE content MATCH 'one NEAR two NEAR one'}
77 } {3}
78
79
80 # Output format of the offsets() function:
81 #
82 # <column number> <term number> <starting offset> <number of bytes>
83 #
84 db eval {
85 INSERT INTO t1(content) VALUES('A X B C D A B');
86 }
87 do_test fts3near-2.1 {
88 execsql {
89 SELECT offsets(t1) FROM t1 WHERE content MATCH 'A NEAR/0 B'
90 }
91 } {{0 0 10 1 0 1 12 1}}
92 do_test fts3near-2.2 {
93 execsql {
94 SELECT offsets(t1) FROM t1 WHERE content MATCH 'B NEAR/0 A'
95 }
96 } {{0 1 10 1 0 0 12 1}}
97 do_test fts3near-2.3 {
98 execsql {
99 SELECT offsets(t1) FROM t1 WHERE content MATCH '"C D" NEAR/0 A'
100 }
101 } {{0 0 6 1 0 1 8 1 0 2 10 1}}
102 do_test fts3near-2.4 {
103 execsql {
104 SELECT offsets(t1) FROM t1 WHERE content MATCH 'A NEAR/0 "C D"'
105 }
106 } {{0 1 6 1 0 2 8 1 0 0 10 1}}
107 do_test fts3near-2.5 {
108 execsql {
109 SELECT offsets(t1) FROM t1 WHERE content MATCH 'A NEAR A'
110 }
111 } {{0 0 0 1 0 1 0 1 0 0 10 1 0 1 10 1}}
112 do_test fts3near-2.6 {
113 execsql {
114 INSERT INTO t1 VALUES('A A A');
115 SELECT offsets(t1) FROM t1 WHERE content MATCH 'A NEAR/2 A';
116 }
117 } [list [list 0 0 0 1 0 1 0 1 0 0 2 1 0 1 2 1 0 0 4 1 0 1 4 1]]
118 do_test fts3near-2.7 {
119 execsql {
120 DELETE FROM t1;
121 INSERT INTO t1 VALUES('A A A A');
122 SELECT offsets(t1) FROM t1 WHERE content MATCH 'A NEAR A NEAR A';
123 }
124 } [list [list \
125 0 0 0 1 0 1 0 1 0 2 0 1 0 0 2 1 \
126 0 1 2 1 0 2 2 1 0 0 4 1 0 1 4 1 \
127 0 2 4 1 0 0 6 1 0 1 6 1 0 2 6 1 \
128 ]]
129
130 db eval {
131 DELETE FROM t1;
132 INSERT INTO t1(content) VALUES(
133 'one two three two four six three six nine four eight twelve'
134 );
135 }
136
137 do_test fts3near-3.1 {
138 execsql {SELECT offsets(t1) FROM t1 WHERE content MATCH 'three NEAR/1 one'}
139 } {{0 1 0 3 0 0 8 5}}
140 do_test fts3near-3.2 {
141 execsql {SELECT offsets(t1) FROM t1 WHERE content MATCH 'one NEAR/1 three'}
142 } {{0 0 0 3 0 1 8 5}}
143 do_test fts3near-3.3 {
144 execsql {SELECT offsets(t1) FROM t1 WHERE content MATCH 'three NEAR/1 two'}
145 } {{0 1 4 3 0 0 8 5 0 1 14 3}}
146 do_test fts3near-3.4 {
147 execsql {SELECT offsets(t1) FROM t1 WHERE content MATCH 'three NEAR/2 two'}
148 } {{0 1 4 3 0 0 8 5 0 1 14 3 0 0 27 5}}
149 do_test fts3near-3.5 {
150 execsql {SELECT offsets(t1) FROM t1 WHERE content MATCH 'two NEAR/2 three'}
151 } {{0 0 4 3 0 1 8 5 0 0 14 3 0 1 27 5}}
152 do_test fts3near-3.6 {
153 execsql {
154 SELECT offsets(t1) FROM t1 WHERE content MATCH 'three NEAR/0 "two four"'
155 }
156 } {{0 0 8 5 0 1 14 3 0 2 18 4}}
157 do_test fts3near-3.7 {
158 execsql {
159 SELECT offsets(t1) FROM t1 WHERE content MATCH '"two four" NEAR/0 three'}
160 } {{0 2 8 5 0 0 14 3 0 1 18 4}}
161
162 db eval {
163 INSERT INTO t1(content) VALUES('
164 This specification defines Cascading Style Sheets, level 2 (CSS2). CSS2 is a style sheet language that allows authors and users to attach style (e.g., fonts , spacing, and aural cues) to structured documents (e.g., HTML documents and XML applications). By separating the presentation style of documents from the conte nt of documents, CSS2 simplifies Web authoring and site maintenance.
165
166 CSS2 builds on CSS1 (see [CSS1]) and, with very few exceptions, all valid CS S1 style sheets are valid CSS2 style sheets. CSS2 supports media-specific style sheets so that authors may tailor the presentation of their documents to visual browsers, aural devices, printers, braille devices, handheld devices, etc. This specification also supports content positioning, downloadable fonts, table layou t, features for internationalization, automatic counters and numbering, and some properties related to user interface.
167 ')
168 }
169 do_test fts3near-4.1 {
170 execsql {
171 SELECT snippet(t1) FROM t1 WHERE content MATCH 'specification NEAR supports'
172 }
173 } {{<b>...</b> devices, handheld devices, etc. This <b>specification</b> also <b >supports</b> content positioning, downloadable fonts, <b>...</b>}}
174
175 do_test fts3near-5.1 {
176 execsql {
177 SELECT docid FROM t1 WHERE content MATCH 'specification attach'
178 }
179 } {2}
180 do_test fts3near-5.2 {
181 execsql {
182 SELECT docid FROM t1 WHERE content MATCH 'specification NEAR attach'
183 }
184 } {}
185 do_test fts3near-5.3 {
186 execsql {
187 SELECT docid FROM t1 WHERE content MATCH 'specification NEAR/18 attach'
188 }
189 } {}
190 do_test fts3near-5.4 {
191 execsql {
192 SELECT docid FROM t1 WHERE content MATCH 'specification NEAR/19 attach'
193 }
194 } {2}
195 do_test fts3near-5.5 {
196 execsql {
197 SELECT docid FROM t1 WHERE content MATCH 'specification NEAR/000018 attach'
198 }
199 } {}
200 do_test fts3near-5.6 {
201 execsql {
202 SELECT docid FROM t1 WHERE content MATCH 'specification NEAR/000019 attach'
203 }
204 } {2}
205
206 db eval {
207 INSERT INTO t1 VALUES('
208 abbrev aberrations abjurations aboding abr abscesses absolutistic
209 abstention abuses acanthuses acceptance acclaimers accomplish
210 accoutring accusation acetonic acid acolytes acquitting acrylonitrile
211 actives acyclic addicted adenoid adjacently adjusting admissible
212 adoption adulated advantaging advertisers aedes aerogramme aetiology
213 affiliative afforest afterclap agamogenesis aggrade agings agonize
214 agron ailurophile airfreight airspeed alarmists alchemizing
215 alexandrines alien aliped all allergenic allocator allowances almost
216 alphabetizes altho alvine amaurosis ambles ameliorate amicability amnio
217 amour ampicillin amusement anadromous analogues anarchy anchormen
218 anecdota aneurin angst animating anlage announcements anodized
219 answerable antemeridian anthracene antiabortionist anticlimaxes
220 antifriction antimitotic antiphon antiques antithetic anviled
221 apatosaurus aphrodisia apodal aposiopesis apparatus appendectomies
222 applications appraisingly appropriate apteryx arabinose
223 arboricultural archdeaconates archipelago ardently arguers armadillo
224 arnicas arrayed arrowy arthroscope artisans ascensive ashier
225 aspersorium assail assentor assignees assonants astereognosis
226 astringency astutest atheistical atomize attachment attenuates
227 attrahent audibility augite auricle auteurists autobus autolysis
228 autosome avenge avidest aw awl ayes babirusa backbeats backgrounder
229 backseat backswings baddie bagnios baked balefuller ballista balmily
230 bandbox bandylegged bankruptcy baptism barbering bargain barneys
231 barracuda barterer bashes bassists bathers batterer bavardage
232 beachfront beanstalk beauteous become bedim bedtimes beermats begat
233 begun belabors bellarmine belongings bending benthos bereavements
234 besieger bestialized betide bevels biases bicarbonates bidentate bigger
235 bile billow bine biodynamics biomedicine biotites birding bisection
236 bitingly bkg blackheads blaeberry blanking blatherer bleeper blindage
237 blithefulness blockish bloodstreams bloused blubbing bluestocking
238 blurted boatbill bobtailed boffo bold boltrope bondservant bonks
239 bookbinding bookworm booting borating boscages botchers bougainvillea
240 bounty bowlegged boyhood bracketed brainstorm brandishes
241 braunschweigers brazilin breakneck breathlessness brewage bridesmaids
242 brighter brisker broader brokerages bronziest browband brunets bryology
243 bucking budlike bugleweed bulkily bulling bummer bunglers bureau burgs
244 burrito bushfire buss butlery buttressing bylines cabdriver cached
245 cadaverousnesses cafeterias cakewalk calcifies calendula callboy calms
246 calyptra camisoles camps candelabrum caned cannolis canoodling cantors
247 cape caponize capsuling caracoled carbolics carcase carditis caretakers
248 carnallite carousel carrageenan cartels carves cashbook castanets
249 casuistry catalyzer catchers categorizations cathexis caucuses
250 causeway cavetto cede cella cementite centenary centrals ceramics ceria
251 cervixes chafferer chalcopyrites chamfers change chaotically
252 characteristically charivari chases chatterer cheats cheeks chef
253 chemurgy chetah chickaree chigoes chillies chinning chirp chive
254 chloroforms chokebore choplogic chorioids chromatic chronically
255 chubbiest chunder chutzpah cimetidine cinque circulated circumscribe
256 cirrose citrin claddagh clamorousness clapperboards classicalism
257 clauses cleanse clemency clicker clinchers cliquiest clods closeting
258 cloudscape clucking cnidarian coalfish coatrack coca cockfights coddled
259 coeducation coexistence cognitively coiffed colatitude collage
260 collections collinear colonelcy colorimetric columelliform combos
261 comforters commence commercialist commit commorancy communized compar
262 compendiously complainers compliance composition comprised comradery
263 concelebrants concerted conciliation concourses condensate
264 condonations confab confessionals confirmed conforming congeal
265 congregant conjectured conjurers connoisseurs conscripting
266 conservator consolable conspired constricting consuls contagious
267 contemporaneity contesters continuities contractors contrarian
268 contrive convalescents convents convexly convulsed cooncan coparcenary
269 coprolite copyreader cordially corklike cornflour coroner corralling
270 corrigible corsages cosies cosmonauts costumer cottontails counselings
271 counterclaim counterpane countertenors courageously couth coveting
272 coworker cozier cracklings crampon crappies craved cream credenzas
273 crematoriums cresol cricoid crinkle criterion crocodile crore crossover
274 crowded cruelest crunch cruzeiros cryptomeria cubism cuesta culprit
275 cumquat cupped curdle curly cursoring curvy customized cutting cyclamens
276 cylindrical cytaster dachshund daikon damages damselfly dangling
277 darkest databanks dauphine dazzling deadpanned deathday debauchers
278 debunking decameter decedents decibel decisions declinations
279 decomposition decoratively decretive deduct deescalated defecating
280 deferentially definiendum defluxion defrocks degrade deice dekaliters
281 deli delinquencies deludedly demarcates demineralizers demodulating
282 demonstrabilities demurred deniabilities denouncement denudation
283 departure deplorable deposing depredatory deputizes derivational
284 desalinization descriptors desexes desisted despising destitute
285 detectability determiner detoxifying devalued devilries devotions
286 dextrous diagenesis dialling diaphoresis diazonium dickeys diddums
287 differencing dig dignified dildo dimetric dineric dinosaurs diplodocus
288 directer dirty disagrees disassembler disburses disclosures
289 disconcerts discountability discrete disembarrass disenthrone
290 disgruntled dishpans disintegrators dislodged disobedient
291 dispassionate dispiritednesses dispraised disqualifying
292 dissatisfying dissidence dissolvers distich distracting distrusts
293 ditto diverse divineness dizzily dockyard dodgers doggish doited dom
294 dominium doohickey doozie dorsum doubleheaders dourer downbeats
295 downshifted doyennes draftsman dramatic drawling dredge drifter
296 drivelines droopier drowsed drunkards dubiosities duding dulcifying
297 dumpcart duodecillion durable duteous dyed dysgenic eagles earplugs
298 earwitness ebonite echoers economical ectothermous edibility educates
299 effected effigies eggbeaters egresses ejaculates elasticize elector
300 electrodynamometer electrophorus elem eligibly eloped emaciating
301 embarcaderos embezzlers embosses embryectomy emfs emotionalizing
302 empiricist emu enamels enchained encoded encrusts endeavored endogamous
303 endothelioma energizes engager engrosses enl enologist enrolls ensphere
304 enters entirety entrap entryways envies eosinophil epicentral
305 epigrammatized episodic epochs equestrian equitably erect ernes
306 errorless escalated eschatology espaliers essonite estop eternity
307 ethnologically eudemonics euphonious euthenist evangelizations
308 eventuality evilest evulsion examinee exceptionably exciter
309 excremental execrably exemplars exhalant exhorter exocrine exothermic
310 expected expends explainable exploratory expostulatory expunges
311 extends externals extorts extrapolative extrorse eyebolt eyra
312 facetiously factor faeries fairings fallacies falsities fancifulness
313 fantasticalness farmhouse fascinate fatalistically fattener fave
314 fearlessly featly federates feints fellowman fencers ferny
315 fertilenesses feta feudality fibers fictionalize fiefs fightback
316 filefish filmier finaglers fingerboards finochio firefly firmament
317 fishmeal fitted fjords flagitiousnesses flamen flaps flatfooting
318 flauntier fleapit fleshes flickertail flints floaty floorboards
319 floristic flow fluffily fluorescein flutes flyspecks foetal folderols
320 followable foolhardier footlockers foppish forceless foredo foreknows
321 foreseeing foretaste forgather forlorn formidableness fortalice
322 forwarding founding foxhunting fragmentarily frangipani fray freeform
323 freezable freshening fridges frilliest frizzed frontbench frottages
324 fruitcake fryable fugleman fulminated functionalists fungoid furfuran
325 furtive fussy fwd gadolinium galabias gallinaceous galvanism gamers
326 gangland gaoling garganey garrisoning gasp gate gauger gayety geed
327 geminately generalissimos genii gentled geochronology geomorphic
328 geriatricians gesellschaft ghat gibbeting giggles gimps girdlers
329 glabella glaive glassfuls gleefully glistered globetrotted glorifier
330 gloving glutathione glyptodont goaled gobsmacked goggliest golliwog
331 goobers gooseberries gormandizer gouramis grabbier gradually grampuses
332 grandmothers granulated graptolite gratuitously gravitates greaten
333 greenmailer greys grills grippers groan gropingly grounding groveling
334 grueled grunter guardroom guggle guineas gummed gunnysacks gushingly
335 gutturals gynecoid gyrostabilizer habitudes haemophilia hailer hairs
336 halest hallow halters hamsters handhelds handsaw hangup haranguer
337 hardheartedness harlotry harps hashing hated hauntingly hayrack
338 headcases headphone headword heartbreakers heaters hebephrenia
339 hedonist heightening heliozoan helots hemelytron hemorrhagic hent
340 herbicides hereunto heroines heteroclitics heterotrophs hexers
341 hidebound hies hightails hindmost hippopotomonstrosesquipedalian
342 histologist hittable hobbledehoys hogans holdings holocrine homegirls
343 homesteader homogeneousness homopolar honeys hoodwinks hoovered
344 horizontally horridness horseshoers hospitalization hotdogging houri
345 housemate howitzers huffier humanist humid humors huntress husbandmen
346 hyaenas hydride hydrokinetics hydroponically hygrothermograph
347 hyperbolically hypersensitiveness hypnogogic hypodermically
348 hypothermia iatrochemistry ichthyological idealist ideograms idling
349 igniting illegal illuminatingly ilmenite imbibing immateriality
350 immigrating immortalizes immures imparts impeder imperfection
351 impersonated implant implying imposition imprecating imprimis
352 improvising impv inanenesses inaugurate incapably incentivize
353 incineration incloses incomparableness inconsequential incorporate
354 incrementing incumbered indecorous indentation indicative indignities
355 indistinguishably indoors indulges ineducation inerrable
356 inexperienced infants infestations infirmnesses inflicting
357 infracostal ingathered ingressions inheritances iniquity
358 injuriousnesses innervated inoculates inquisitionist insectile
359 insiders insolate inspirers instatement instr insulates intactness
360 intellects intensifies intercalations intercontinental interferon
361 interlarded intermarrying internalizing interpersonally
362 interrelatednesses intersperse interviewees intolerance
363 intransigents introducing intubates invades inventing inveterate
364 invocate iodides irenicism ironsmith irreducibly irresistibility
365 irriguous isobarisms isometrically issuable itineracies jackdaws
366 jaggery jangling javelins jeeringly jeremiad jeweler jigsawing jitter
367 jocosity jokester jot jowls judicative juicy jungly jurists juxtaposed
368 kalpa karstify keddah kendo kermesses keynote kibbutznik kidnaper
369 kilogram kindred kingpins kissers klatch kneads knobbed knowingest
370 kookaburras kruller labefaction labyrinths lacquer laddered lagoons
371 lambency laminates lancinate landscapist lankiness lapse larked lasso
372 laterite laudableness laundrywomen lawgiver laypersons leafhoppers
373 leapfrogs leaven leeches legated legislature leitmotifs lenients
374 leprous letterheads levelling lexicographically liberalists
375 librettist licorice lifesaving lightheadedly likelier limekiln limped
376 lines linkers lipoma liquidator listeners litharge litmus
377 liverishnesses loamier lobeline locative locutionary loggier loiterer
378 longevity loomed loping lotion louts lowboys luaus lucrativeness lulus
379 lumpier lungi lush luthern lymphangial lythraceous machinists maculate
380 maggot magnetochemistry maharani maimers majored malaprops malignants
381 maloti mammary manchineel manfully manicotti manipulativenesses
382 mansards manufactories maraschino margin markdown marooning marshland
383 mascaraing massaging masticate matchmark matings mattes mausoleum
384 mayflies mealworm meataxe medevaced medievalist meetings megavitamin
385 melded melodramatic memorableness mendaciousnesses mensurable
386 mercenaries mere meronymous mesmerizes mestee metallurgical
387 metastasize meterages meticulosity mewed microbe microcrystalline
388 micromanager microsporophyll midiron miffed milder militiamen
389 millesimal milometer mincing mingily minims minstrelsy mires
390 misanthropic miscalculate miscomprehended misdefines misery mishears
391 misled mispickel misrepresent misspending mistranslate miswriting
392 mixologists mobilizers moderators modulate mojo mollies momentum monde
393 monied monocles monographs monophyletic monotonousness moocher
394 moorages morality morion mortally moseyed motherly motorboat mouldering
395 mousers moveables mucky mudslides mulatto multicellularity
396 multipartite multivalences mundanities murkiest mushed muskiness
397 mutability mutisms mycelia myosotis mythicist nacred namable napkin
398 narghile nastiness nattering nauseations nearliest necessitate
399 necrophobia neg negotiators neologizes nephrotomy netiquette
400 neurophysiology newbie newspaper niccolite nielsbohriums nightlong
401 nincompoops nitpicked nix noddling nomadize nonadhesive noncandidates
402 nonconducting nondigestible nones nongreasy nonjoinder nonoccurrence
403 nonporousness nonrestrictive nonstaining nonuniform nooses northwards
404 nostalgic notepaper nourishment noyades nuclides numberless numskulls
405 nutmegged nymphaea oatmeal obis objurgators oblivious obsequiousness
406 obsoletism obtruding occlusions ocher octettes odeums offcuts
407 officiation ogival oilstone olestras omikron oncogenesis onsetting
408 oomphs openly ophthalmoscope opposites optimum orangutans
409 orchestrations ordn organophosphates origin ornithosis orthognathous
410 oscillatory ossuaries ostracized ounce outbreaks outearning outgrows
411 outlived outpoints outrunning outspends outwearing overabound
412 overbalance overcautious overcrowds overdubbing overexpanding
413 overgraze overindustrialize overlearning overoptimism overproducing
414 overripe overshadowing overspreading overstuff overtones overwind ow
415 oxidizing pacer packs paganish painstakingly palate palette pally
416 palsying pandemic panhandled pantheism papaws papped parading
417 parallelize paranoia parasitically pardners parietal parodied pars
418 participator partridgeberry passerines password pastors
419 paterfamiliases patination patrolman paunch pawnshops peacekeeper
420 peatbog peculator pedestrianism peduncles pegboard pellucidnesses
421 pendency penitentiary penstock pentylenetetrazol peptidase perched
422 perennial performing perigynous peripheralize perjurer permissively
423 perpetuals persistency perspicuously perturbingly pesky petcock
424 petrologists pfennige pharmacies phenformin philanderers
425 philosophically phonecards phosgenes photocomposer photogenic photons
426 phototype phylloid physiotherapeutics picadores pickup pieces pigging
427 pilaster pillion pimples pinioned pinpricks pipers pirogi pit
428 pitifullest pizza placental plainly planing plasmin platforming
429 playacts playwrights plectra pleurisy plopped plug plumule plussed
430 poaches poetasters pointless polarize policyholder polkaed
431 polyadelphous polygraphing polyphonous pomace ponderers pooch poplar
432 porcelains portableness portly positioning postage posthumously
433 postponed potages potholed poulard powdering practised pranksters
434 preadapt preassigning precentors precipitous preconditions predefined
435 predictors preengage prefers prehumans premedical prenotification
436 preplanning prepuberty presbytery presentation presidia prestissimo
437 preterites prevailer prewarmed priding primitively principalships
438 prisage privileged probed prochurch proctoscope products proficients
439 prognathism prohibiting proletarianisms prominence promulgates
440 proofreading property proportions prorate proselytize prosthesis
441 proteins prototypic provenances provitamin prudish pseudonymities
442 psychoanalysts psychoneuroses psychrometer publishable pufferies
443 pullet pulses punchy punkins purchased purities pursers pushover
444 putridity pylons pyrogenous pzazz quadricepses quaff qualmish quarriers
445 quasilinear queerness questionnaires quieten quintals quislings quoits
446 rabidness racketeers radiative radioisotope radiotherapists ragingly
447 rainband rakishness rampagers rands raped rare raspy ratiocinator
448 rattlebrain ravening razz reactivation readoption realm reapportioning
449 reasoning reattempts rebidding rebuts recapitulatory receptiveness
450 recipes reckonings recognizee recommendatory reconciled reconnoiters
451 recontaminated recoupments recruits recumbently redact redefine
452 redheaded redistributable redraw redwing reeled reenlistment reexports
453 refiles reflate reflowing refortified refried refuses regelate
454 registrant regretting rehabilitative reigning reinduced reinstalled
455 reinvesting rejoining relations relegates religiosities reluctivity
456 remastered reminisce remodifying remounted rends renovate reordered
457 repartee repel rephrase replicate repossessing reprint reprogramed
458 repugnantly requiter rescheduling resegregate resettled residually
459 resold resourcefulness respondent restating restrainedly resubmission
460 resurveyed retaliating retiarius retorsion retreated retrofitting
461 returning revanchism reverberated reverted revitalization
462 revolutionize rewind rhapsodizing rhizogenic rhythms ricketinesses
463 ridicule righteous rilles rinks rippliest ritualize riyals roast rockery
464 roguish romanizations rookiest roquelaure rotation rotundity rounder
465 routinizing rubberize rubricated ruefully ruining rummaged runic
466 russets ruttish sackers sacrosanctly safeguarding said salaciousness
467 salinity salsas salutatorians sampan sandbag saned santonin
468 saprophagous sarnies satem saturant savaged sawbucks scablike scalp
469 scant scared scatter schedulers schizophrenics schnauzers schoolmarms
470 scintillae scleroses scoped scotched scram scratchiness screwball
471 scripting scrubwomen scrutinizing scumbled scuttled seals seasickness
472 seccos secretions secularizing seditiousnesses seeking segregators
473 seize selfish semeiology seminarian semitropical sensate sensors
474 sentimo septicemic sequentially serener serine serums
475 sesquicentennials seventeen sexiest sforzandos shadowing shallot
476 shampooing sharking shearer sheered shelters shifter shiner shipper
477 shitted shoaled shofroth shorebirds shortsightedly showboated shrank
478 shrines shucking shuttlecocks sickeningly sideling sidewise sigil
479 signifiers siliceous silty simony simulative singled sinkings sirrah
480 situps skateboarder sketchpad skim skirmished skulkers skywalk slander
481 slating sleaziest sleepyheads slicking slink slitting slot slub
482 slumlords smallest smattered smilier smokers smriti snailfish snatch
483 snides snitching snooze snowblowers snub soapboxing socialite sockeyes
484 softest sold solicitings solleret sombreros somnolencies sons sopor
485 sorites soubrette soupspoon southpaw spaces spandex sparkers spatially
486 speccing specking spectroscopists speedsters spermatics sphincter
487 spiffied spindlings spirals spitball splayfeet splitter spokeswomen
488 spooled sportily spousals sprightliness sprogs spurner squalene
489 squattered squelches squirms stablish staggerings stalactitic stamp
490 stands starflower starwort stations stayed steamroll steeplebush
491 stemmatics stepfathers stereos steroid sticks stillage stinker
492 stirringly stockpiling stomaching stopcock stormers strabismuses
493 strainer strappado strawberries streetwise striae strikeouts strives
494 stroppiest stubbed study stunting style suavity subchloride subdeb
495 subfields subjoin sublittoral subnotebooks subprograms subside
496 substantial subtenants subtreasuries succeeding sucked sufferers
497 sugarier sulfaguanidine sulphating summerhouse sunbonnets sunned
498 superagency supercontinent superheroes supernatural superscribing
499 superthin supplest suppositive surcease surfs surprise survey
500 suspiration svelte swamplands swashes sweatshop swellhead swindling
501 switching sworn syllabuses sympathetics synchrocyclotron syndic
502 synonymously syringed tablatures tabulation tackling taiga takas talker
503 tamarisks tangential tans taproom tarpapers taskmaster tattiest
504 tautologically taxied teacup tearjerkers technocracies teepee
505 telegenic telephony telexed temperaments temptress tenderizing tensed
506 tenuring tergal terned terror testatrices tetherball textile thatched
507 their theorem thereof thermometers thewy thimerosal thirsty
508 thoroughwort threateningly thrived through thumbnails thwacks
509 ticketing tie til timekeepers timorousness tinkers tippers tisane
510 titrating toastmaster toff toking tomb tongs toolmakings topes topple
511 torose tortilla totalizing touchlines tousling townsmen trachea
512 tradeable tragedienne traitorous trances transcendentalists
513 transferrable tranship translating transmogrifying transportable
514 transvestism traumatize treachery treed trenail tressing tribeswoman
515 trichromatism triennials trikes trims triplicate tristich trivializes
516 trombonist trots trouts trued trunnion tryster tubes tulle tundras turban
517 turgescence turnround tutelar tweedinesses twill twit tympanum typists
518 tzarists ulcered ultramodern umbles unaccountability unamended
519 unassertivenesses unbanned unblocked unbundled uncertified unclaimed
520 uncoated unconcerns unconvinced uncrossing undefined underbodice
521 underemphasize undergrowth underpayment undershirts understudy
522 underwritten undissolved unearthed unentered unexpended unfeeling
523 unforeseen unfussy unhair unhinges unifilar unimproved uninvitingly
524 universalization unknowns unlimbering unman unmet unnaturalness
525 unornament unperturbed unprecedentedly unproportionate unread
526 unreflecting unreproducible unripe unsatisfying unseaworthiness
527 unsharable unsociable unstacking unsubtly untactfully untied untruest
528 unveils unwilled unyokes upheave upraised upstart upwind urethrae
529 urtexts usurers uvula vacillators vailed validation valvule vanities
530 varia variously vassaled vav veggies velours venerator ventrals
531 verbalizes verification vernacularized verticality vestigially via
532 vicariously victoriousness viewpoint villainies vines violoncellist
533 virtual viscus vital vitrify viviparous vocalizers voidable volleys
534 volutes vouches vulcanology wackos waggery wainwrights waling wallowing
535 wanking wardroom warmup wartiest washwoman watchman watermarks waverer
536 wayzgoose weariest weatherstripped weediness weevil welcomed
537 wentletrap whackers wheatworm whelp whf whinged whirl whistles whithers
538 wholesomeness whosoever widows wikiup willowier windburned windsail
539 wingspread winterkilled wisecracking witchgrass witling wobbliest
540 womanliness woodcut woodworking woozy working worldwide worthiest
541 wrappings wretched writhe wynd xylophone yardarm yea yelped yippee yoni
542 yuks zealotry zigzagger zitherists zoologists zygosis');
543 }
544
545 do_test fts3near-6.1 {
546 execsql {
547 SELECT docid FROM t1 WHERE content MATCH 'abbrev zygosis'
548 }
549 } {3}
550 do_test fts3near-6.2 {
551 execsql {
552 SELECT docid FROM t1 WHERE content MATCH 'abbrev NEAR zygosis'
553 }
554 } {}
555 do_test fts3near-6.3 {
556 execsql {
557 SELECT docid FROM t1 WHERE content MATCH 'abbrev NEAR/100 zygosis'
558 }
559 } {}
560 do_test fts3near-6.4 {
561 execsql {
562 SELECT docid FROM t1 WHERE content MATCH 'abbrev NEAR/1000 zygosis'
563 }
564 } {}
565 do_test fts3near-6.5 {
566 execsql {
567 SELECT docid FROM t1 WHERE content MATCH 'abbrev NEAR/10000 zygosis'
568 }
569 } {3}
570
571
572 finish_test
OLDNEW
« no previous file with comments | « third_party/sqlite/test/fts3expr2.test ('k') | third_party/sqlite/test/func.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698