Repository: asterixdb Updated Branches: refs/heads/master e93617f8a -> 7bb77a307
http://git-wip-us.apache.org/repos/asf/asterixdb/blob/7bb77a30/asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/fulltext/fulltext-index-09/fulltext-index-09.1.ddl.sqlpp ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/fulltext/fulltext-index-09/fulltext-index-09.1.ddl.sqlpp b/asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/fulltext/fulltext-index-09/fulltext-index-09.1.ddl.sqlpp new file mode 100644 index 0000000..ef54c5b --- /dev/null +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/fulltext/fulltext-index-09/fulltext-index-09.1.ddl.sqlpp @@ -0,0 +1,43 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +/* + * Description : Full-text search index test + * : This test is intended to verify that the full-text search works as expected + * : with multiple conditions. + * : Each query will generate the output whose size is greater than a frame. + * : query #3 - two string values in [an ordered list] query with "any" option + * : in this case, "any" option that enforces a disjunctive search will be applied. + * : query #4 - the same as query #3, but with a different option - "all" + * : in this case, we explicitly specify "all" option that enforces a conjunctive search. + * Expected Result : Success + * +*/ + +drop dataverse test if exists; +create dataverse test; +use test; + +create type MyRecord as open { + id: int64, + text: string +}; + +create dataset MyData(MyRecord) + primary key id; http://git-wip-us.apache.org/repos/asf/asterixdb/blob/7bb77a30/asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/fulltext/fulltext-index-09/fulltext-index-09.2.update.sqlpp ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/fulltext/fulltext-index-09/fulltext-index-09.2.update.sqlpp b/asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/fulltext/fulltext-index-09/fulltext-index-09.2.update.sqlpp new file mode 100644 index 0000000..ea348bd --- /dev/null +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/fulltext/fulltext-index-09/fulltext-index-09.2.update.sqlpp @@ -0,0 +1,26 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +use test; + +load dataset MyData +using localfs +(("path"="asterix_nc1://data/fulltext/cloudberry_sample_tweet.adm"),("format"="adm")); + +create index fulltext_index_text on MyData(text) type fulltext; http://git-wip-us.apache.org/repos/asf/asterixdb/blob/7bb77a30/asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/fulltext/fulltext-index-09/fulltext-index-09.3.query.sqlpp ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/fulltext/fulltext-index-09/fulltext-index-09.3.query.sqlpp b/asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/fulltext/fulltext-index-09/fulltext-index-09.3.query.sqlpp new file mode 100644 index 0000000..8a913cf --- /dev/null +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/fulltext/fulltext-index-09/fulltext-index-09.3.query.sqlpp @@ -0,0 +1,27 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +use test; + +select count(*) from ( + select element {"id":ftval.id} + from MyData as ftval + where test.ftcontains(ftval.text, ["t","co"], {"mode":"any"}) + order by ftval.id +) first; http://git-wip-us.apache.org/repos/asf/asterixdb/blob/7bb77a30/asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/fulltext/fulltext-index-09/fulltext-index-09.4.query.sqlpp ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/fulltext/fulltext-index-09/fulltext-index-09.4.query.sqlpp b/asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/fulltext/fulltext-index-09/fulltext-index-09.4.query.sqlpp new file mode 100644 index 0000000..0bf6847 --- /dev/null +++ b/asterixdb/asterix-app/src/test/resources/runtimets/queries_sqlpp/fulltext/fulltext-index-09/fulltext-index-09.4.query.sqlpp @@ -0,0 +1,26 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +use test; + +select count(*) from ( + select element {"id":ftval.id} + from MyData as ftval + where test.ftcontains(ftval.text, ["t","co"], {"mode":"all"}) + order by ftval.id +) first; http://git-wip-us.apache.org/repos/asf/asterixdb/blob/7bb77a30/asterixdb/asterix-app/src/test/resources/runtimets/results/fulltext/fulltext-08/fulltext-08.3.adm ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/results/fulltext/fulltext-08/fulltext-08.3.adm b/asterixdb/asterix-app/src/test/resources/runtimets/results/fulltext/fulltext-08/fulltext-08.3.adm index 85c3c4f..29ad37b 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/results/fulltext/fulltext-08/fulltext-08.3.adm +++ b/asterixdb/asterix-app/src/test/resources/runtimets/results/fulltext/fulltext-08/fulltext-08.3.adm @@ -1,3 +1,267 @@ -{ "id": 668945643054870528 } -{ "id": 668945646725017600 } -{ "id": 668945653892911104 } +{ "id": 682833640322134016 } +{ "id": 683196027344662529 } +{ "id": 683558422088794113 } +{ "id": 683558423464665088 } +{ "id": 683920801054195712 } +{ "id": 683920803415523329 } +{ "id": 683920808838696960 } +{ "id": 683920814719254528 } +{ "id": 684283194439368704 } +{ "id": 684283199648825345 } +{ "id": 684283201813000192 } +{ "id": 685007984288743426 } +{ "id": 685370366114447360 } +{ "id": 685370374209585152 } +{ "id": 685732756693889025 } +{ "id": 685732760837697537 } +{ "id": 686095131498426368 } +{ "id": 686095135470321665 } +{ "id": 686819922857463808 } +{ "id": 687182291936804864 } +{ "id": 687182298148552704 } +{ "id": 687182300388298752 } +{ "id": 687182302477041664 } +{ "id": 687544695635849217 } +{ "id": 687544698198573056 } +{ "id": 688269475871760384 } +{ "id": 688269477067100160 } +{ "id": 688269480661630976 } +{ "id": 688994233542295552 } +{ "id": 688994238709682176 } +{ "id": 688994248616628224 } +{ "id": 688994250109800449 } +{ "id": 689356622334947328 } +{ "id": 689719010884091904 } +{ "id": 689719033185234945 } +{ "id": 690081416013545472 } +{ "id": 690443782626635776 } +{ "id": 690443790461575169 } +{ "id": 690443810023870464 } +{ "id": 691168572681408512 } +{ "id": 691168573838917632 } +{ "id": 691530962941771780 } +{ "id": 691530963470454784 } +{ "id": 691893338530803712 } +{ "id": 691893353852592128 } +{ "id": 691893362182479872 } +{ "id": 692255726270599168 } +{ "id": 692618119894831104 } +{ "id": 692618121048301571 } +{ "id": 692980501607518210 } +{ "id": 692980517197717504 } +{ "id": 692980526588780544 } +{ "id": 693342888600571906 } +{ "id": 693342893407211520 } +{ "id": 693342902026702850 } +{ "id": 693705280366841857 } +{ "id": 694067668417015808 } +{ "id": 694067679657750528 } +{ "id": 694430065778675712 } +{ "id": 694792437311475712 } +{ "id": 694792447105191938 } +{ "id": 694792456517189632 } +{ "id": 695154826926170116 } +{ "id": 695517219397234688 } +{ "id": 695517222324703232 } +{ "id": 695517227634835456 } +{ "id": 695517228016410624 } +{ "id": 695517233133391872 } +{ "id": 695517240431505408 } +{ "id": 695879621884006400 } +{ "id": 696242012761169920 } +{ "id": 696604380133511169 } +{ "id": 696604403197816832 } +{ "id": 697329171442216961 } +{ "id": 697329184100618240 } +{ "id": 697691548260020224 } +{ "id": 698053939514646528 } +{ "id": 698053949505417217 } +{ "id": 698053955733958656 } +{ "id": 698416327652990976 } +{ "id": 698416346028085248 } +{ "id": 699503486233407488 } +{ "id": 699865866956099585 } +{ "id": 699865872735690752 } +{ "id": 699865883443752960 } +{ "id": 702402593037926400 } +{ "id": 702764972766568449 } +{ "id": 703127357909897217 } +{ "id": 703127358547427328 } +{ "id": 703127359231135745 } +{ "id": 703852138833661954 } +{ "id": 703852144533700608 } +{ "id": 703852146161090560 } +{ "id": 704214530629435392 } +{ "id": 704214540062433281 } +{ "id": 704576917601710081 } +{ "id": 704576927466549248 } +{ "id": 704576932596174848 } +{ "id": 704939301851758592 } +{ "id": 704939311901319170 } +{ "id": 705301697854189568 } +{ "id": 705301698093273088 } +{ "id": 705301707807264768 } +{ "id": 705664078425886721 } +{ "id": 706026463053545472 } +{ "id": 706026483597217792 } +{ "id": 706026486164094977 } +{ "id": 706388860054466560 } +{ "id": 706388863757918208 } +{ "id": 706388867314688001 } +{ "id": 706751242668650496 } +{ "id": 706751261257945088 } +{ "id": 707113635336867840 } +{ "id": 707476013500997632 } +{ "id": 707476023219097600 } +{ "id": 707838400649256960 } +{ "id": 707838402020782080 } +{ "id": 708200795825541120 } +{ "id": 708925567924436992 } +{ "id": 709272857855922178 } +{ "id": 709997628533116928 } +{ "id": 709997630328328192 } +{ "id": 710360015517790208 } +{ "id": 715795839034269696 } +{ "id": 715795839495577601 } +{ "id": 715795840066068484 } +{ "id": 715795847041191938 } +{ "id": 715795849247326210 } +{ "id": 716520615331500035 } +{ "id": 716883007873818624 } +{ "id": 717245385299726336 } +{ "id": 717245410230730752 } +{ "id": 717607776172642304 } +{ "id": 717607791616139264 } +{ "id": 717607801317502976 } +{ "id": 717970161991438336 } +{ "id": 717970174821793792 } +{ "id": 718332560988893184 } +{ "id": 718332568656027648 } +{ "id": 718694944580378625 } +{ "id": 719057333100408832 } +{ "id": 719057333544878081 } +{ "id": 719057337881735168 } +{ "id": 719419730537230337 } +{ "id": 719782116750274560 } +{ "id": 719782118834851840 } +{ "id": 719782124425863168 } +{ "id": 719782124677521408 } +{ "id": 720144497384955905 } +{ "id": 720506877847670785 } +{ "id": 720506890933923841 } +{ "id": 720869273409708033 } +{ "id": 721231658112970752 } +{ "id": 721231668380569600 } +{ "id": 721231677138141188 } +{ "id": 721594060687949824 } +{ "id": 722318833701240832 } +{ "id": 723043598460055552 } +{ "id": 723043621755195393 } +{ "id": 723405978994020353 } +{ "id": 723405979421806592 } +{ "id": 723768382303002625 } +{ "id": 723768382357561344 } +{ "id": 724130759716405248 } +{ "id": 724130763608854528 } +{ "id": 724493151080091648 } +{ "id": 724493154334855168 } +{ "id": 724493155958026240 } +{ "id": 724493165143552001 } +{ "id": 724493165722390528 } +{ "id": 724855554707959808 } +{ "id": 725217934361157632 } +{ "id": 725217934872813568 } +{ "id": 725217948827156482 } +{ "id": 725580305709469696 } +{ "id": 725580309597577216 } +{ "id": 725580315595436032 } +{ "id": 725942707181363200 } +{ "id": 725942715339296768 } +{ "id": 726305100801695745 } +{ "id": 726667476759678976 } +{ "id": 727029875031216129 } +{ "id": 727029881201147904 } +{ "id": 727392248841703424 } +{ "id": 727392251681206272 } +{ "id": 727392255644848129 } +{ "id": 727754638448074757 } +{ "id": 727754640914296832 } +{ "id": 727754642017390593 } +{ "id": 727754648631816192 } +{ "id": 728117024514179073 } +{ "id": 728117031157915648 } +{ "id": 728117034781827073 } +{ "id": 728479418520199168 } +{ "id": 728479433191919616 } +{ "id": 728479434575994885 } +{ "id": 728841796319502336 } +{ "id": 728841813474316288 } +{ "id": 728841814866857985 } +{ "id": 729204197586046976 } +{ "id": 729204200463175680 } +{ "id": 729928969160687616 } +{ "id": 729928971207335936 } +{ "id": 730291355595870209 } +{ "id": 730291359232491520 } +{ "id": 730291365607657472 } +{ "id": 730291366140379136 } +{ "id": 730653752261148672 } +{ "id": 730653758611283969 } +{ "id": 731016142324539392 } +{ "id": 731378513278701568 } +{ "id": 731378515652673537 } +{ "id": 731740907318300673 } +{ "id": 732103295406219264 } +{ "id": 732828063168397313 } +{ "id": 733190456578707464 } +{ "id": 733190466720530433 } +{ "id": 733552852417675264 } +{ "id": 733552857429868544 } +{ "id": 733552862265892866 } +{ "id": 733915239570276352 } +{ "id": 733915240132317185 } +{ "id": 733915240547504129 } +{ "id": 734277620183896064 } +{ "id": 734277620725108736 } +{ "id": 734640011405099010 } +{ "id": 734640015481942016 } +{ "id": 735002389917229056 } +{ "id": 735002396758269952 } +{ "id": 735002401879396352 } +{ "id": 735002406883328000 } +{ "id": 735727177921007617 } +{ "id": 735727178935980034 } +{ "id": 736089562045251584 } +{ "id": 736451956495896577 } +{ "id": 736451959113142276 } +{ "id": 736814329627070464 } +{ "id": 736814338468544512 } +{ "id": 737176722756362240 } +{ "id": 737176732659126272 } +{ "id": 737539106679332865 } +{ "id": 737901496461889537 } +{ "id": 738263883614298112 } +{ "id": 738263884461576192 } +{ "id": 738626272385859584 } +{ "id": 738626277087666176 } +{ "id": 738626277788131329 } +{ "id": 739713433969401860 } +{ "id": 739713444669100032 } +{ "id": 739713445268852737 } +{ "id": 740075824276230144 } +{ "id": 740438209059008512 } +{ "id": 740438213744066561 } +{ "id": 740438214234808320 } +{ "id": 740438219108560896 } +{ "id": 740438223546159104 } +{ "id": 740800605627809792 } +{ "id": 741525375126274048 } +{ "id": 741525379341377537 } +{ "id": 741887773544615937 } +{ "id": 742250161208889344 } +{ "id": 742250161758294016 } +{ "id": 742612535971581952 } +{ "id": 742612547778531328 } +{ "id": 742974925124866052 } +{ "id": 742974929453350912 } +{ "id": 742974940115271680 } http://git-wip-us.apache.org/repos/asf/asterixdb/blob/7bb77a30/asterixdb/asterix-app/src/test/resources/runtimets/results/fulltext/fulltext-08/fulltext-08.4.adm ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/results/fulltext/fulltext-08/fulltext-08.4.adm b/asterixdb/asterix-app/src/test/resources/runtimets/results/fulltext/fulltext-08/fulltext-08.4.adm index 17babd8..8ed3e21 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/results/fulltext/fulltext-08/fulltext-08.4.adm +++ b/asterixdb/asterix-app/src/test/resources/runtimets/results/fulltext/fulltext-08/fulltext-08.4.adm @@ -1 +1 @@ -{ "id": 668945643054870528 } +{ "id": 682833640322134016 } http://git-wip-us.apache.org/repos/asf/asterixdb/blob/7bb77a30/asterixdb/asterix-app/src/test/resources/runtimets/results/fulltext/fulltext-08/fulltext-08.5.adm ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/results/fulltext/fulltext-08/fulltext-08.5.adm b/asterixdb/asterix-app/src/test/resources/runtimets/results/fulltext/fulltext-08/fulltext-08.5.adm index 2d91ff6..8147406 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/results/fulltext/fulltext-08/fulltext-08.5.adm +++ b/asterixdb/asterix-app/src/test/resources/runtimets/results/fulltext/fulltext-08/fulltext-08.5.adm @@ -1,4 +1,269 @@ -{ "id": 668945643054870528 } -{ "id": 668945646725017600 } -{ "id": 668945651263115264 } -{ "id": 668945653892911104 } +{ "id": 682833640322134016 } +{ "id": 683196027344662529 } +{ "id": 683558422088794113 } +{ "id": 683558423464665088 } +{ "id": 683920801054195712 } +{ "id": 683920803415523329 } +{ "id": 683920808838696960 } +{ "id": 683920814719254528 } +{ "id": 684283194439368704 } +{ "id": 684283199648825345 } +{ "id": 684283201813000192 } +{ "id": 685007984288743426 } +{ "id": 685370366114447360 } +{ "id": 685370374209585152 } +{ "id": 685732756693889025 } +{ "id": 685732760837697537 } +{ "id": 686095131498426368 } +{ "id": 686095135470321665 } +{ "id": 686819922857463808 } +{ "id": 687182291936804864 } +{ "id": 687182298148552704 } +{ "id": 687182300388298752 } +{ "id": 687182302477041664 } +{ "id": 687544695635849217 } +{ "id": 687544698198573056 } +{ "id": 688269475871760384 } +{ "id": 688269477067100160 } +{ "id": 688269480661630976 } +{ "id": 688994233542295552 } +{ "id": 688994238709682176 } +{ "id": 688994248616628224 } +{ "id": 688994250109800449 } +{ "id": 689356622334947328 } +{ "id": 689719010884091904 } +{ "id": 689719033185234945 } +{ "id": 690081416013545472 } +{ "id": 690443782626635776 } +{ "id": 690443790461575169 } +{ "id": 690443810023870464 } +{ "id": 691168572681408512 } +{ "id": 691168573838917632 } +{ "id": 691530962941771780 } +{ "id": 691530963470454784 } +{ "id": 691893338530803712 } +{ "id": 691893353852592128 } +{ "id": 691893362182479872 } +{ "id": 692255726270599168 } +{ "id": 692618119894831104 } +{ "id": 692618121048301571 } +{ "id": 692980501607518210 } +{ "id": 692980517197717504 } +{ "id": 692980526588780544 } +{ "id": 693342888600571906 } +{ "id": 693342893407211520 } +{ "id": 693342902026702850 } +{ "id": 693705280366841857 } +{ "id": 694067668417015808 } +{ "id": 694067679657750528 } +{ "id": 694430065778675712 } +{ "id": 694792437311475712 } +{ "id": 694792447105191938 } +{ "id": 694792456517189632 } +{ "id": 695154826926170116 } +{ "id": 695517219397234688 } +{ "id": 695517222324703232 } +{ "id": 695517227634835456 } +{ "id": 695517228016410624 } +{ "id": 695517233133391872 } +{ "id": 695517240431505408 } +{ "id": 695879621884006400 } +{ "id": 696242012761169920 } +{ "id": 696604380133511169 } +{ "id": 696604403197816832 } +{ "id": 697329171442216961 } +{ "id": 697329184100618240 } +{ "id": 697691548260020224 } +{ "id": 698053939514646528 } +{ "id": 698053949505417217 } +{ "id": 698053955733958656 } +{ "id": 698416327652990976 } +{ "id": 698416346028085248 } +{ "id": 699503486233407488 } +{ "id": 699865866956099585 } +{ "id": 699865872735690752 } +{ "id": 699865883443752960 } +{ "id": 702402593037926400 } +{ "id": 702764972766568449 } +{ "id": 703127357909897217 } +{ "id": 703127358547427328 } +{ "id": 703127359231135745 } +{ "id": 703852138833661954 } +{ "id": 703852144533700608 } +{ "id": 703852146161090560 } +{ "id": 704214530629435392 } +{ "id": 704214540062433281 } +{ "id": 704576917601710081 } +{ "id": 704576927466549248 } +{ "id": 704576932596174848 } +{ "id": 704939301851758592 } +{ "id": 704939311901319170 } +{ "id": 705301697854189568 } +{ "id": 705301698093273088 } +{ "id": 705301707807264768 } +{ "id": 705664078425886721 } +{ "id": 706026463053545472 } +{ "id": 706026483597217792 } +{ "id": 706026486164094977 } +{ "id": 706388860054466560 } +{ "id": 706388863757918208 } +{ "id": 706388867314688001 } +{ "id": 706751242668650496 } +{ "id": 706751261257945088 } +{ "id": 707113635336867840 } +{ "id": 707476013500997632 } +{ "id": 707476023219097600 } +{ "id": 707838400649256960 } +{ "id": 707838402020782080 } +{ "id": 708200795825541120 } +{ "id": 708925567924436992 } +{ "id": 709272857855922178 } +{ "id": 709997628533116928 } +{ "id": 709997630328328192 } +{ "id": 710360015517790208 } +{ "id": 715795839034269696 } +{ "id": 715795839495577601 } +{ "id": 715795840066068484 } +{ "id": 715795847041191938 } +{ "id": 715795849247326210 } +{ "id": 716520615331500035 } +{ "id": 716883007873818624 } +{ "id": 717245385299726336 } +{ "id": 717245410230730752 } +{ "id": 717607776172642304 } +{ "id": 717607791616139264 } +{ "id": 717607801317502976 } +{ "id": 717970161991438336 } +{ "id": 717970174821793792 } +{ "id": 718332560988893184 } +{ "id": 718332568656027648 } +{ "id": 718694944580378625 } +{ "id": 719057333100408832 } +{ "id": 719057333544878081 } +{ "id": 719057337881735168 } +{ "id": 719419730537230337 } +{ "id": 719782116750274560 } +{ "id": 719782118834851840 } +{ "id": 719782124425863168 } +{ "id": 719782124677521408 } +{ "id": 720144497384955905 } +{ "id": 720506877847670785 } +{ "id": 720506890933923841 } +{ "id": 720869273409708033 } +{ "id": 721231658112970752 } +{ "id": 721231668380569600 } +{ "id": 721231677138141188 } +{ "id": 721594060687949824 } +{ "id": 722318833701240832 } +{ "id": 723043598460055552 } +{ "id": 723043621755195393 } +{ "id": 723405978994020353 } +{ "id": 723405979421806592 } +{ "id": 723768382303002625 } +{ "id": 723768382357561344 } +{ "id": 724130759716405248 } +{ "id": 724130763608854528 } +{ "id": 724493151080091648 } +{ "id": 724493154334855168 } +{ "id": 724493155958026240 } +{ "id": 724493165143552001 } +{ "id": 724493165722390528 } +{ "id": 724855554707959808 } +{ "id": 725217934361157632 } +{ "id": 725217934872813568 } +{ "id": 725217948827156482 } +{ "id": 725580305709469696 } +{ "id": 725580309597577216 } +{ "id": 725580315595436032 } +{ "id": 725942707181363200 } +{ "id": 725942715339296768 } +{ "id": 726305100801695745 } +{ "id": 726667476759678976 } +{ "id": 727029864222576640 } +{ "id": 727029875031216129 } +{ "id": 727029881201147904 } +{ "id": 727392248841703424 } +{ "id": 727392251681206272 } +{ "id": 727392255644848129 } +{ "id": 727754638448074757 } +{ "id": 727754640914296832 } +{ "id": 727754642017390593 } +{ "id": 727754648631816192 } +{ "id": 728117024514179073 } +{ "id": 728117031157915648 } +{ "id": 728117034781827073 } +{ "id": 728479418520199168 } +{ "id": 728479433191919616 } +{ "id": 728479434575994885 } +{ "id": 728841796319502336 } +{ "id": 728841813474316288 } +{ "id": 728841814866857985 } +{ "id": 729204197586046976 } +{ "id": 729204200463175680 } +{ "id": 729928969160687616 } +{ "id": 729928971207335936 } +{ "id": 730291355595870209 } +{ "id": 730291359232491520 } +{ "id": 730291365607657472 } +{ "id": 730291366140379136 } +{ "id": 730653752261148672 } +{ "id": 730653758611283969 } +{ "id": 731016142324539392 } +{ "id": 731378513278701568 } +{ "id": 731378515652673537 } +{ "id": 731378535537860608 } +{ "id": 731740907318300673 } +{ "id": 732103295406219264 } +{ "id": 732828063168397313 } +{ "id": 733190456578707464 } +{ "id": 733190466720530433 } +{ "id": 733552852417675264 } +{ "id": 733552857429868544 } +{ "id": 733552862265892866 } +{ "id": 733915239570276352 } +{ "id": 733915240132317185 } +{ "id": 733915240547504129 } +{ "id": 734277620183896064 } +{ "id": 734277620725108736 } +{ "id": 734640011405099010 } +{ "id": 734640015481942016 } +{ "id": 735002389917229056 } +{ "id": 735002396758269952 } +{ "id": 735002401879396352 } +{ "id": 735002406883328000 } +{ "id": 735727177921007617 } +{ "id": 735727178935980034 } +{ "id": 736089562045251584 } +{ "id": 736451956495896577 } +{ "id": 736451959113142276 } +{ "id": 736814329627070464 } +{ "id": 736814338468544512 } +{ "id": 737176722756362240 } +{ "id": 737176732659126272 } +{ "id": 737539106679332865 } +{ "id": 737901496461889537 } +{ "id": 738263883614298112 } +{ "id": 738263884461576192 } +{ "id": 738626272385859584 } +{ "id": 738626277087666176 } +{ "id": 738626277788131329 } +{ "id": 739713433969401860 } +{ "id": 739713444669100032 } +{ "id": 739713445268852737 } +{ "id": 740075824276230144 } +{ "id": 740438209059008512 } +{ "id": 740438213744066561 } +{ "id": 740438214234808320 } +{ "id": 740438219108560896 } +{ "id": 740438223546159104 } +{ "id": 740800605627809792 } +{ "id": 741525375126274048 } +{ "id": 741525379341377537 } +{ "id": 741887773544615937 } +{ "id": 742250161208889344 } +{ "id": 742250161758294016 } +{ "id": 742612535971581952 } +{ "id": 742612547778531328 } +{ "id": 742974925124866052 } +{ "id": 742974929453350912 } +{ "id": 742974940115271680 } http://git-wip-us.apache.org/repos/asf/asterixdb/blob/7bb77a30/asterixdb/asterix-app/src/test/resources/runtimets/results/fulltext/fulltext-index-08/fulltext-index-02.8.adm ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/results/fulltext/fulltext-index-08/fulltext-index-02.8.adm b/asterixdb/asterix-app/src/test/resources/runtimets/results/fulltext/fulltext-index-08/fulltext-index-02.8.adm deleted file mode 100644 index acde73f..0000000 --- a/asterixdb/asterix-app/src/test/resources/runtimets/results/fulltext/fulltext-index-08/fulltext-index-02.8.adm +++ /dev/null @@ -1,14 +0,0 @@ -{ "id": 8 } -{ "id": 13 } -{ "id": 16 } -{ "id": 19 } -{ "id": 23 } -{ "id": 26 } -{ "id": 29 } -{ "id": 38 } -{ "id": 43 } -{ "id": 46 } -{ "id": 49 } -{ "id": 53 } -{ "id": 56 } -{ "id": 59 } http://git-wip-us.apache.org/repos/asf/asterixdb/blob/7bb77a30/asterixdb/asterix-app/src/test/resources/runtimets/results/fulltext/fulltext-index-08/fulltext-index-08.8.adm ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/results/fulltext/fulltext-index-08/fulltext-index-08.8.adm b/asterixdb/asterix-app/src/test/resources/runtimets/results/fulltext/fulltext-index-08/fulltext-index-08.8.adm new file mode 100644 index 0000000..acde73f --- /dev/null +++ b/asterixdb/asterix-app/src/test/resources/runtimets/results/fulltext/fulltext-index-08/fulltext-index-08.8.adm @@ -0,0 +1,14 @@ +{ "id": 8 } +{ "id": 13 } +{ "id": 16 } +{ "id": 19 } +{ "id": 23 } +{ "id": 26 } +{ "id": 29 } +{ "id": 38 } +{ "id": 43 } +{ "id": 46 } +{ "id": 49 } +{ "id": 53 } +{ "id": 56 } +{ "id": 59 } http://git-wip-us.apache.org/repos/asf/asterixdb/blob/7bb77a30/asterixdb/asterix-app/src/test/resources/runtimets/results/fulltext/fulltext-index-09/fulltext-index-09.3.adm ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/results/fulltext/fulltext-index-09/fulltext-index-09.3.adm b/asterixdb/asterix-app/src/test/resources/runtimets/results/fulltext/fulltext-index-09/fulltext-index-09.3.adm new file mode 100644 index 0000000..564afbf --- /dev/null +++ b/asterixdb/asterix-app/src/test/resources/runtimets/results/fulltext/fulltext-index-09/fulltext-index-09.3.adm @@ -0,0 +1 @@ +{ "$1": 4933 } http://git-wip-us.apache.org/repos/asf/asterixdb/blob/7bb77a30/asterixdb/asterix-app/src/test/resources/runtimets/results/fulltext/fulltext-index-09/fulltext-index-09.4.adm ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/results/fulltext/fulltext-index-09/fulltext-index-09.4.adm b/asterixdb/asterix-app/src/test/resources/runtimets/results/fulltext/fulltext-index-09/fulltext-index-09.4.adm new file mode 100644 index 0000000..01f8fb3 --- /dev/null +++ b/asterixdb/asterix-app/src/test/resources/runtimets/results/fulltext/fulltext-index-09/fulltext-index-09.4.adm @@ -0,0 +1 @@ +{ "$1": 3968 } http://git-wip-us.apache.org/repos/asf/asterixdb/blob/7bb77a30/asterixdb/asterix-app/src/test/resources/runtimets/testsuite_sqlpp.xml ---------------------------------------------------------------------- diff --git a/asterixdb/asterix-app/src/test/resources/runtimets/testsuite_sqlpp.xml b/asterixdb/asterix-app/src/test/resources/runtimets/testsuite_sqlpp.xml index a806bf6..87bf893 100644 --- a/asterixdb/asterix-app/src/test/resources/runtimets/testsuite_sqlpp.xml +++ b/asterixdb/asterix-app/src/test/resources/runtimets/testsuite_sqlpp.xml @@ -2834,6 +2834,11 @@ </compilation-unit> </test-case> <test-case FilePath="fulltext"> + <compilation-unit name="fulltext-index-09"> + <output-dir compare="Text">fulltext-index-09</output-dir> + </compilation-unit> + </test-case> + <test-case FilePath="fulltext"> <compilation-unit name="fulltext-index-large-data"> <output-dir compare="Text">fulltext-index-large-data</output-dir> </compilation-unit> http://git-wip-us.apache.org/repos/asf/asterixdb/blob/7bb77a30/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-invertedindex/src/main/java/org/apache/hyracks/storage/am/lsm/invertedindex/search/InvertedListMerger.java ---------------------------------------------------------------------- diff --git a/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-invertedindex/src/main/java/org/apache/hyracks/storage/am/lsm/invertedindex/search/InvertedListMerger.java b/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-invertedindex/src/main/java/org/apache/hyracks/storage/am/lsm/invertedindex/search/InvertedListMerger.java index 5da4702..f3ca8b0 100644 --- a/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-invertedindex/src/main/java/org/apache/hyracks/storage/am/lsm/invertedindex/search/InvertedListMerger.java +++ b/hyracks-fullstack/hyracks/hyracks-storage-am-lsm-invertedindex/src/main/java/org/apache/hyracks/storage/am/lsm/invertedindex/search/InvertedListMerger.java @@ -165,7 +165,7 @@ public class InvertedListMerger { // Needs to return the calculation result for the final list only. // Otherwise, the process needs to be continued until this method traverses the final inverted list // and either generates some output in the output buffer or finishes traversing it. - if (isFinalList && doneMerge) { + if (isFinalList) { return doneMerge; } }