Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- make html LANGUAGE=c++
- sphinx-build -b html -q -d _build/doctrees -tc++ . _build/html
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/index1.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/index1.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/index1.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/index1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/advanced/learning_to_rank.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:37.254715416 +0530
- +++ code/expected.out/index1.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/index1: not found
- $ g++ `xapian-config --cxxflags` code/c++/index1.cc code/c++/support.cc -o code/c++/built/index1 `xapian-config --libs`
- code/c++/built/index1 data/100-objects-v1.csv db > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/index1.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from /usr/local/include/xapian-letor.h:23,
- from code/c++/search_letor.cc:23:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from /usr/local/include/xapian-letor.h:23,
- from code/c++/search_letor.cc:23:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from /usr/local/include/xapian-letor.h:23,
- from code/c++/search_letor.cc:23:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_letor.out: (/home/ayush/Desktop/workspace/xapian-docsprint/advanced/learning_to_rank.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:37.606696430 +0530
- +++ code/expected.out/search_letor.out 2017-08-21 23:17:12.953599961 +0530
- @@ -1 +1,59 @@
- -sh: 2: code/c++/built/search_letor: not found
- +Docids before re-ranking by LTR model:
- +4: [6.7291]
- +1970-377
- +Watch with Chinese duplex escapement
- +Watch with Chinese duplex escapement
- +13: [6.29324]
- +1985-1538
- +Watch timer by P
- +Watch timer by P.L. Instruments Ltd., Welwyn Garden City; with tuning fork standard and spark printer
- +33: [5.77657]
- +1986-516
- +A device by Favag of Neuchatel which enables a stop watch to
- +A device by Favag of Neuchatel which enables a stop watch to be operated by an electric signal, 1961
- +18: [5.76966]
- +1987-1145
- +Solar/Sidereal verge watch with epicyclic maintaining power
- +Solar/Sidereal verge watch with epicyclic maintaining power by James Green, London, no. 5969, in silver pair case hallmarked 1776, believed to be the earliest English watch to indicate solar and sidereal time with seconds.
- +36: [5.52705]
- +1986-91
- +Universal 'Tri-Compax' chronographic wrist watch
- +'Tri-Compax' calendar chronograph wristwatch in gold case, by Universal, Geneva, Switzerland, 1960-1986.
- +15: [5.05174]
- +1985-1914
- +Ingersoll "Dan Dare" automaton pocket watch with pin-pallet
- +Ingersoll "Dan Dare" automaton pocket watch with pin-pallet lever escapement. The dial shows a helmeted Dan Dare holding a ray gun, with a monster approaching. The emblem of the " Eagle" children's comic is impressed in the back of case.
- +46: [2.5204]
- +1883-68
- +Model by Dent of mechanism for setting hands and winding up
- +Model by Dent of mechanism for setting hands and winding up a keyless watch
- +Docids after re-ranking by LTR model:
- +
- +46: [-0.0075442]
- +1883-68
- +Model by Dent of mechanism for setting hands and winding up
- +Model by Dent of mechanism for setting hands and winding up a keyless watch
- +15: [-0.0298056]
- +1985-1914
- +Ingersoll "Dan Dare" automaton pocket watch with pin-pallet
- +Ingersoll "Dan Dare" automaton pocket watch with pin-pallet lever escapement. The dial shows a helmeted Dan Dare holding a ray gun, with a monster approaching. The emblem of the " Eagle" children's comic is impressed in the back of case.
- +33: [-0.0305018]
- +1986-516
- +A device by Favag of Neuchatel which enables a stop watch to
- +A device by Favag of Neuchatel which enables a stop watch to be operated by an electric signal, 1961
- +36: [-0.032863]
- +1986-91
- +Universal 'Tri-Compax' chronographic wrist watch
- +'Tri-Compax' calendar chronograph wristwatch in gold case, by Universal, Geneva, Switzerland, 1960-1986.
- +18: [-0.0338239]
- +1987-1145
- +Solar/Sidereal verge watch with epicyclic maintaining power
- +Solar/Sidereal verge watch with epicyclic maintaining power by James Green, London, no. 5969, in silver pair case hallmarked 1776, believed to be the earliest English watch to indicate solar and sidereal time with seconds.
- +13: [-0.0403684]
- +1985-1538
- +Watch timer by P
- +Watch timer by P.L. Instruments Ltd., Welwyn Garden City; with tuning fork standard and spark printer
- +4: [-0.0447454]
- +1970-377
- +Watch with Chinese duplex escapement
- +Watch with Chinese duplex escapement
- $ g++ `xapian-config --cxxflags` code/c++/search_letor.cc -lxapianletor -o code/c++/built/search_letor `xapian-config --libs`
- code/c++/built/search_letor db ListNET_Ranker watch > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_letor.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/index_filters.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/index_filters.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/index_filters.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/index_filters.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/boolean_filters.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:38.470649869 +0530
- +++ code/expected.out/index_filters.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/index_filters: not found
- $ g++ `xapian-config --cxxflags` code/c++/index_filters.cc code/c++/support.cc -o code/c++/built/index_filters `xapian-config --libs`
- code/c++/built/index_filters data/100-objects-v1.csv db > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/index_filters.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/search_filters.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/search_filters.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/search_filters.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_filters.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/boolean_filters.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:38.874628115 +0530
- +++ code/expected.out/search_filters.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,9 @@
- -sh: 2: code/c++/built/search_filters: not found
- +1: #012 Assembled and unassembled EXA electric clock kit
- +2: #098 'Pond' electric clock movement (no dial)
- +3: #052 Reconstruction of Dondi's Astronomical Clock, 1974
- +4: #059 Electrically operated clock controller
- +5: #024 Regulator Clock with Gravity Escapement
- +6: #097 Bain's subsidiary electric clock
- +7: #009 Copy of a Dwerrihouse skeleton clock with coup-perdu escape
- +8: #091 Pendulum clock designed by Galileo in 1642 and made by his son in 1649, model.
- +'clock'[0:10] = 12 98 52 59 24 97 9 91
- $ g++ `xapian-config --cxxflags` code/c++/search_filters.cc code/c++/support.cc -o code/c++/built/search_filters `xapian-config --libs`
- code/c++/built/search_filters db clock 'steel (metal)' > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_filters.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/search_filters2.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/search_filters2.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/search_filters2.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_filters2.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/boolean_filters.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:39.262607246 +0530
- +++ code/expected.out/search_filters2.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,9 @@
- -sh: 2: code/c++/built/search_filters2: not found
- +1: #012 Assembled and unassembled EXA electric clock kit
- +2: #098 'Pond' electric clock movement (no dial)
- +3: #052 Reconstruction of Dondi's Astronomical Clock, 1974
- +4: #059 Electrically operated clock controller
- +5: #024 Regulator Clock with Gravity Escapement
- +6: #097 Bain's subsidiary electric clock
- +7: #009 Copy of a Dwerrihouse skeleton clock with coup-perdu escape
- +8: #091 Pendulum clock designed by Galileo in 1642 and made by his son in 1649, model.
- +'clock material:"steel (metal)"'[0:10] = 12 98 52 59 24 97 9 91
- $ g++ `xapian-config --cxxflags` code/c++/search_filters2.cc code/c++/support.cc -o code/c++/built/search_filters2 `xapian-config --libs`
- code/c++/built/search_filters2 db 'clock material:"steel (metal)"' > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_filters2.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/index_facets.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/index_facets.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/index_facets.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/index_facets.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/facets.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:39.690584236 +0530
- +++ code/expected.out/index_facets.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/index_facets: not found
- $ g++ `xapian-config --cxxflags` code/c++/index_facets.cc code/c++/support.cc -o code/c++/built/index_facets `xapian-config --libs`
- code/c++/built/index_facets data/100-objects-v1.csv db > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/index_facets.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/search_facets.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/search_facets.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/search_facets.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_facets.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/facets.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:40.086562956 +0530
- +++ code/expected.out/search_facets.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,33 @@
- -sh: 2: code/c++/built/search_facets: not found
- +1: #044 Two-dial clock by the Self-Winding Clock Co; as used on the
- +2: #096 Clock with Hipp pendulum (an electric driven clock with Hipp
- +3: #012 Assembled and unassembled EXA electric clock kit
- +4: #098 'Pond' electric clock movement (no dial)
- +5: #083 Harrison's eight-day wooden clock movement, 1715.
- +6: #005 "Ever Ready" ceiling clock
- +7: #039 Electric clock of the Bain type
- +8: #061 Van der Plancke master clock
- +9: #064 Morse electrical clock, dial mechanism
- +10: #052 Reconstruction of Dondi's Astronomical Clock, 1974
- +Facet: Bain, Alexander; count: 3
- +Facet: Bloxam, J. M.; count: 1
- +Facet: Braun (maker); count: 1
- +Facet: British Horo-Electric Ltd. (maker); count: 1
- +Facet: British Vacuum Cleaner and Engineering Co. Ltd., Magneto Time division (maker); count: 1
- +Facet: EXA; count: 1
- +Facet: Ever Ready Co. (maker); count: 2
- +Facet: Ferranti Ltd.; count: 1
- +Facet: Galilei, Galileo, 1564-1642; Galilei, Vincenzio, 1606-1649; count: 1
- +Facet: Harrison, John (maker); count: 1
- +Facet: Hipp, M.; count: 1
- +Facet: La Précision Cie; count: 1
- +Facet: Lund, J.; count: 1
- +Facet: Morse, J. S.; count: 1
- +Facet: Self Winding Clock Company; count: 1
- +Facet: Self-Winding Clock Co. (maker); count: 1
- +Facet: Synchronome Co. Ltd. (maker); count: 2
- +Facet: Thwaites and Reed Ltd.; count: 1
- +Facet: Thwaites and Reed Ltd. (maker); count: 1
- +Facet: Viviani, Vincenzo; count: 1
- +Facet: Vulliamy, Benjamin, 1747-1811; count: 1
- +Facet: Whitefriars Glass Ltd. (maker); count: 1
- +'clock'[0:10] = 44 96 12 98 83 5 39 61 64 52
- $ g++ `xapian-config --cxxflags` code/c++/search_facets.cc code/c++/support.cc -o code/c++/built/search_facets `xapian-config --libs`
- code/c++/built/search_facets db clock > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_facets.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/index_ranges.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/index_ranges.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/index_ranges.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/index_ranges.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:40.514539986 +0530
- +++ code/expected.out/index_ranges.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/index_ranges: not found
- $ g++ `xapian-config --cxxflags` code/c++/index_ranges.cc code/c++/support.cc -o code/c++/built/index_ranges `xapian-config --libs`
- code/c++/built/index_ranges data/100-objects-v1.csv db > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/index_ranges.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/search_ranges.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/search_ranges.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/search_ranges.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_ranges.db_..50mm.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:40.918518303 +0530
- +++ code/expected.out/search_ranges.db_..50mm.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,7 @@
- -sh: 2: code/c++/built/search_ranges: not found
- +1: #031 (1588) overall diameter: 50 mm
- + Portable universal equinoctial sundial, in brass, signed "A
- +2: #073 (1701-1721) overall: 15 mm x 44.45 mm, weight: 0.055kg
- + Universal pocket sundial
- +3: #074 (1596) overall: 13 mm x 44.45 mm x 44.45 mm, weight: 0.095kg
- + Sundial, made as a locket, gilt metal, part silver
- +'..50mm'[0:10] = 31 73 74
- $ g++ `xapian-config --cxxflags` code/c++/search_ranges.cc code/c++/support.cc -o code/c++/built/search_ranges `xapian-config --libs`
- code/c++/built/search_ranges db ..50mm > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_ranges.db_..50mm.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/search_ranges.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/search_ranges.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/search_ranges.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_ranges.db_1980..1989.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:41.306497506 +0530
- +++ code/expected.out/search_ranges.db_1980..1989.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,5 @@
- -sh: 2: code/c++/built/search_ranges: not found
- +1: #050 (1984) overall: 105 mm x 75 mm x 57 mm,
- + Quartz Analogue "no battery" wristwatch by Pulsar Quartz (CA
- +2: #051 (1984) overall: 85 mm x 65 mm x 38 mm,
- + Analogue quartz clock with voice controlled alarm by Braun,
- +'1980..1989'[0:10] = 50 51
- $ g++ `xapian-config --cxxflags` code/c++/search_ranges.cc code/c++/support.cc -o code/c++/built/search_ranges `xapian-config --libs`
- code/c++/built/search_ranges db 1980..1989 > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_ranges.db_1980..1989.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/search_ranges.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/search_ranges.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/search_ranges.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_ranges.db_clock_1960...out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:41.698476502 +0530
- +++ code/expected.out/search_ranges.db_clock_1960...out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,7 @@
- -sh: 2: code/c++/built/search_ranges: not found
- +1: #052 (1974) clock: 1185 x 780 mm, 122 kg; rewind unit: 460 x 640 x 350 mm
- + Reconstruction of Dondi's Astronomical Clock, 1974
- +2: #051 (1984) overall: 85 mm x 65 mm x 38 mm,
- + Analogue quartz clock with voice controlled alarm by Braun,
- +3: #009 (1973) overall: 380 mm x 300 mm x 192 mm, weight: 6.45kg
- + Copy of a Dwerrihouse skeleton clock with coup-perdu escape
- +'clock 1960..'[0:10] = 52 51 9
- $ g++ `xapian-config --cxxflags` code/c++/search_ranges.cc code/c++/support.cc -o code/c++/built/search_ranges `xapian-config --libs`
- code/c++/built/search_ranges db clock 1960.. > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_ranges.db_clock_1960...out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/search_ranges.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/search_ranges.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/search_ranges.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_ranges.db_1000..mm_1800..1899.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:42.090455507 +0530
- +++ code/expected.out/search_ranges.db_1000..mm_1800..1899.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,3 @@
- -sh: 2: code/c++/built/search_ranges: not found
- +1: #024 (1845-1855) overall: 1850 mm x 350 mm x 250 mm
- + Regulator Clock with Gravity Escapement
- +'1000..mm 1800..1899'[0:10] = 24
- $ g++ `xapian-config --cxxflags` code/c++/search_ranges.cc code/c++/support.cc -o code/c++/built/search_ranges `xapian-config --libs`
- code/c++/built/search_ranges db 1000..mm 1800..1899 > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_ranges.db_1000..mm_1800..1899.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/index_ranges2.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/index_ranges2.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/index_ranges2.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/index_ranges2.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:42.490434110 +0530
- +++ code/expected.out/index_ranges2.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/index_ranges2: not found
- $ g++ `xapian-config --cxxflags` code/c++/index_ranges2.cc code/c++/support.cc -o code/c++/built/index_ranges2 `xapian-config --libs`
- code/c++/built/index_ranges2 data/states.csv statesdb > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/index_ranges2.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/search_ranges2.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/search_ranges2.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/search_ranges2.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_ranges2.statesdb_spanish.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:42.898412286 +0530
- +++ code/expected.out/search_ranges2.statesdb_spanish.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,5 @@
- -sh: 2: code/c++/built/search_ranges2: not found
- +1: #004 State of Montana November 8, 1889
- + Population 989,415
- +2: #019 State of Texas December 29, 1845
- + Population 25,145,561
- +'spanish'[0:10] = 4 19
- $ g++ `xapian-config --cxxflags` code/c++/search_ranges2.cc code/c++/support.cc -o code/c++/built/search_ranges2 `xapian-config --libs`
- code/c++/built/search_ranges2 statesdb spanish > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_ranges2.statesdb_spanish.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/search_ranges2.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/search_ranges2.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/search_ranges2.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_ranges2.statesdb_1800..1899.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:43.294391129 +0530
- +++ code/expected.out/search_ranges2.statesdb_1800..1899.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,21 @@
- -sh: 2: code/c++/built/search_ranges2: not found
- +1: #001 State of Washington November 11, 1889
- + Population 6,744,496
- +2: #002 State of Arkansas June 15, 1836
- + Population 2,915,918
- +3: #003 State of Oregon February 14, 1859
- + Population 3,831,074
- +4: #004 State of Montana November 8, 1889
- + Population 989,415
- +5: #005 Idaho July 3, 1890
- + Population 1,567,582
- +6: #006 State of Nevada October 31, 1864
- + Population 2,700,551
- +7: #007 State of California September 9, 1850
- + Population 37,253,956
- +8: #009 State of Utah January 4, 1896
- + Population 2,763,885
- +9: #010 State of Wyoming July 10, 1890
- + Population 563,626
- +10: #011 State of Colorado August 1, 1876
- + Population 5,029,196
- +'1800..1899'[0:10] = 1 2 3 4 5 6 7 9 10 11
- $ g++ `xapian-config --cxxflags` code/c++/search_ranges2.cc code/c++/support.cc -o code/c++/built/search_ranges2 `xapian-config --libs`
- code/c++/built/search_ranges2 statesdb 1800..1899 > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_ranges2.statesdb_1800..1899.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/search_ranges2.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/search_ranges2.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/search_ranges2.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_ranges2.statesdb_11=2f08=2f1889..07=2f10=2f1890.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:43.686370195 +0530
- +++ code/expected.out/search_ranges2.statesdb_11=2f08=2f1889..07=2f10=2f1890.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,9 @@
- -sh: 2: code/c++/built/search_ranges2: not found
- +1: #001 State of Washington November 11, 1889
- + Population 6,744,496
- +2: #004 State of Montana November 8, 1889
- + Population 989,415
- +3: #005 Idaho July 3, 1890
- + Population 1,567,582
- +4: #010 State of Wyoming July 10, 1890
- + Population 563,626
- +'11/08/1889..07/10/1890'[0:10] = 1 4 5 10
- $ g++ `xapian-config --cxxflags` code/c++/search_ranges2.cc code/c++/support.cc -o code/c++/built/search_ranges2 `xapian-config --libs`
- code/c++/built/search_ranges2 statesdb 11/08/1889..07/10/1890 > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_ranges2.statesdb_11=2f08=2f1889..07=2f10=2f1890.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/search_ranges2.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/search_ranges2.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/search_ranges2.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_ranges2.statesdb_10000000...out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:44.094348415 +0530
- +++ code/expected.out/search_ranges2.statesdb_10000000...out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,15 @@
- -sh: 2: code/c++/built/search_ranges2: not found
- +1: #007 State of California September 9, 1850
- + Population 37,253,956
- +2: #019 State of Texas December 29, 1845
- + Population 25,145,561
- +3: #027 State of Illinois December 3, 1818
- + Population 12,830,632
- +4: #030 State of Ohio March 1, 1803
- + Population 11,536,504
- +5: #035 State of Florida March 3, 1845
- + Population 18,801,310
- +6: #040 Commonwealth of Pennsylvania December 12, 1787
- + Population 12,702,379
- +7: #041 State of New York July 26, 1788
- + Population 19,378,102
- +'10000000..'[0:10] = 7 19 27 30 35 40 41
- $ g++ `xapian-config --cxxflags` code/c++/search_ranges2.cc code/c++/support.cc -o code/c++/built/search_ranges2 `xapian-config --libs`
- code/c++/built/search_ranges2 statesdb 10000000.. > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_ranges2.statesdb_10000000...out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/search_ranges2.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/search_ranges2.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/search_ranges2.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_ranges2.statesdb_1780..1789_10000000...out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:44.486327515 +0530
- +++ code/expected.out/search_ranges2.statesdb_1780..1789_10000000...out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,5 @@
- -sh: 2: code/c++/built/search_ranges2: not found
- +1: #040 Commonwealth of Pennsylvania December 12, 1787
- + Population 12,702,379
- +2: #041 State of New York July 26, 1788
- + Population 19,378,102
- +'1780..1789 10000000..'[0:10] = 40 41
- $ g++ `xapian-config --cxxflags` code/c++/search_ranges2.cc code/c++/support.cc -o code/c++/built/search_ranges2 `xapian-config --libs`
- code/c++/built/search_ranges2 statesdb 1780..1789 10000000.. > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_ranges2.statesdb_1780..1789_10000000...out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/index_ranges2.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/index_ranges2.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/index_ranges2.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/index_ranges2.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/sorting.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:44.902305336 +0530
- +++ code/expected.out/index_ranges2.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/index_ranges2: not found
- $ g++ `xapian-config --cxxflags` code/c++/index_ranges2.cc code/c++/support.cc -o code/c++/built/index_ranges2 `xapian-config --libs`
- code/c++/built/index_ranges2 data/states.csv statesdb > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/index_ranges2.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/search_sorting.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/search_sorting.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/search_sorting.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_sorting.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/sorting.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:45.290284676 +0530
- +++ code/expected.out/search_sorting.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,5 @@
- -sh: 2: code/c++/built/search_sorting: not found
- +1: #019 State of Texas December 29, 1845
- + Population 25,145,561
- +2: #004 State of Montana November 8, 1889
- + Population 989,415
- +'spanish'[0:10] = 19 4
- $ g++ `xapian-config --cxxflags` code/c++/search_sorting.cc code/c++/support.cc -o code/c++/built/search_sorting `xapian-config --libs`
- code/c++/built/search_sorting statesdb spanish > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_sorting.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/search_sorting2.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/search_sorting2.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/search_sorting2.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_sorting2.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/sorting.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:45.686263598 +0530
- +++ code/expected.out/search_sorting2.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,21 @@
- -sh: 2: code/c++/built/search_sorting2: not found
- +1: #040 Commonwealth of Pennsylvania December 12, 1787
- + Population 12,702,379
- +2: #043 State of New Jersey December 18, 1787
- + Population 8,791,894
- +3: #049 State of Delaware December 7, 1787
- + Population 897,934
- +4: #041 State of New York July 26, 1788
- + Population 19,378,102
- +5: #034 State of Georgia January 2, 1788
- + Population 9,687,653
- +6: #038 Commonwealth of Virginia June 25, 1788
- + Population 8,001,024
- +7: #046 Commonwealth of Massachusetts February 6, 1788
- + Population 6,547,629
- +8: #050 State of Maryland April 28, 1788
- + Population 5,773,552
- +9: #036 State of South Carolina May 23, 1788
- + Population 4,625,384
- +10: #048 State of Connecticut January 9, 1788
- + Population 3,574,097
- +'State'[0:10] = 40 43 49 41 34 38 46 50 36 48
- $ g++ `xapian-config --cxxflags` code/c++/search_sorting2.cc code/c++/support.cc -o code/c++/built/search_sorting2 `xapian-config --libs`
- code/c++/built/search_sorting2 statesdb State > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_sorting2.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/index_values_with_geo.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/index_values_with_geo.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/index_values_with_geo.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/index_values_with_geo.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/sorting.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:46.090242103 +0530
- +++ code/expected.out/index_values_with_geo.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/index_values_with_geo: not found
- $ g++ `xapian-config --cxxflags` code/c++/index_values_with_geo.cc code/c++/support.cc -o code/c++/built/index_values_with_geo `xapian-config --libs`
- code/c++/built/index_values_with_geo data/states.csv statesdb > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/index_values_with_geo.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/search_sorting3.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/search_sorting3.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/search_sorting3.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/c++/search_sorting3.cc: In member function ‘virtual std::__cxx11::string search(const string&, const string&, Xapian::doccount, Xapian::doccount)::DistanceKeyMaker::operator()(const Xapian::Document&) const’:
- code/c++/search_sorting3.cc:43:45: error: ‘atof’ was not declared in this scope
- double lat = atof(latlon.c_str());
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_sorting3.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/sorting.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:46.482221272 +0530
- +++ code/expected.out/search_sorting3.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,21 @@
- -sh: 2: code/c++/built/search_sorting3: not found
- +1: #050 State of Maryland April 28, 1788
- + Population 5,773,552
- +2: #049 State of Delaware December 7, 1787
- + Population 897,934
- +3: #040 Commonwealth of Pennsylvania December 12, 1787
- + Population 12,702,379
- +4: #043 State of New Jersey December 18, 1787
- + Population 8,791,894
- +5: #039 State of West Virginia June 20, 1863
- + Population 1,859,815
- +6: #037 State of North Carolina November 21, 1789
- + Population 9,535,483
- +7: #041 State of New York July 26, 1788
- + Population 19,378,102
- +8: #038 Commonwealth of Virginia June 25, 1788
- + Population 8,001,024
- +9: #048 State of Connecticut January 9, 1788
- + Population 3,574,097
- +10: #036 State of South Carolina May 23, 1788
- + Population 4,625,384
- +'State'[0:10] = 50 49 40 43 39 37 41 38 48 36
- $ g++ `xapian-config --cxxflags` code/c++/search_sorting3.cc code/c++/support.cc -o code/c++/built/search_sorting3 `xapian-config --libs`
- code/c++/built/search_sorting3 statesdb State > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_sorting3.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/index1.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/index1.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/index1.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/index1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/synonyms.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:46.914198317 +0530
- +++ code/expected.out/index1.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/index1: not found
- $ g++ `xapian-config --cxxflags` code/c++/index1.cc code/c++/support.cc -o code/c++/built/index1 `xapian-config --libs`
- code/c++/built/index1 data/100-objects-v1.csv db > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/index1.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/delete1.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/delete1.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/delete1.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/delete1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/synonyms.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:47.290178362 +0530
- +++ code/expected.out/delete1.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/delete1: not found
- $ g++ `xapian-config --cxxflags` code/c++/delete1.cc code/c++/support.cc -o code/c++/built/delete1 `xapian-config --libs`
- code/c++/built/delete1 db 1953-448 1985-438 > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/delete1.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/search_synonyms.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/search_synonyms.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/search_synonyms.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_synonyms.db_time.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/synonyms.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:47.678157779 +0530
- +++ code/expected.out/search_synonyms.db_time.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,10 @@
- -sh: 2: code/c++/built/search_synonyms: not found
- +1: #065 Electric time piece with hands but without dial (no pendulum
- +2: #058 The "Empire" clock, to show the time at various longitudes,
- +3: #041 Frequency and time measuring instrument type TSA3436 by Venn
- +4: #056 Single sandglass in 4 pillared wood mount, running time 15 1
- +5: #043 Loughborough-Hayes automatic timing apparatus. Used by the R
- +6: #011 "Timetrunk" by Hines and Co., Glasgow (a sandglass for timin
- +7: #016 Copy of the gearing of the Byzantine sundial-calendar (1983-
- +8: #045 Master clock of the "Silent Electric" type made by the Magne
- +9: #018 Solar/Sidereal verge watch with epicyclic maintaining power
- +'time'[0:10] = 65 58 41 56 43 11 16 45 18
- $ g++ `xapian-config --cxxflags` code/c++/search_synonyms.cc code/c++/support.cc -o code/c++/built/search_synonyms `xapian-config --libs`
- code/c++/built/search_synonyms db time > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_synonyms.db_time.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/index1.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/index1.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/index1.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/index1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/synonyms.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:48.074136777 +0530
- +++ code/expected.out/index1.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/index1: not found
- $ g++ `xapian-config --cxxflags` code/c++/index1.cc code/c++/support.cc -o code/c++/built/index1 `xapian-config --libs`
- code/c++/built/index1 data/100-objects-v1.csv db > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/index1.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/delete1.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/delete1.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/delete1.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/delete1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/synonyms.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:48.454116652 +0530
- +++ code/expected.out/delete1.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/delete1: not found
- $ g++ `xapian-config --cxxflags` code/c++/delete1.cc code/c++/support.cc -o code/c++/built/delete1 `xapian-config --libs`
- code/c++/built/delete1 db 1953-448 1985-438 > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/delete1.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/search_synonyms.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/search_synonyms.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/search_synonyms.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search_synonyms.out: (/home/ayush/Desktop/workspace/xapian-docsprint/howtos/synonyms.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:48.842096102 +0530
- +++ code/expected.out/search_synonyms.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,11 @@
- -sh: 2: code/c++/built/search_synonyms: not found
- +1: #016 Copy of the gearing of the Byzantine sundial-calendar (1983-
- +2: #072 German Perpetual Calendar in gilt metal
- +3: #065 Electric time piece with hands but without dial (no pendulum
- +4: #068 Ornate brass Perpetual Calendar
- +5: #058 The "Empire" clock, to show the time at various longitudes,
- +6: #041 Frequency and time measuring instrument type TSA3436 by Venn
- +7: #056 Single sandglass in 4 pillared wood mount, running time 15 1
- +8: #043 Loughborough-Hayes automatic timing apparatus. Used by the R
- +9: #026 Sundial and compass with perpetual calendar and lunar circles
- +10: #036 Universal 'Tri-Compax' chronographic wrist watch
- +'~time'[0:10] = 16 72 65 68 58 41 56 43 26 36
- $ g++ `xapian-config --cxxflags` code/c++/search_synonyms.cc code/c++/support.cc -o code/c++/built/search_synonyms `xapian-config --libs`
- code/c++/built/search_synonyms db ~time > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search_synonyms.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/index1.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/index1.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/index1.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/index1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/practical_example/indexing/updating_the_database.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:49.342069650 +0530
- +++ code/expected.out/index1.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/index1: not found
- $ g++ `xapian-config --cxxflags` code/c++/index1.cc code/c++/support.cc -o code/c++/built/index1 `xapian-config --libs`
- code/c++/built/index1 data/100-objects-v1.csv db > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/index1.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/delete1.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/delete1.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/delete1.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/delete1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/practical_example/indexing/updating_the_database.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:49.714049981 +0530
- +++ code/expected.out/delete1.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/delete1: not found
- $ g++ `xapian-config --cxxflags` code/c++/delete1.cc code/c++/support.cc -o code/c++/built/delete1 `xapian-config --libs`
- code/c++/built/delete1 db 1953-448 1985-438 > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/delete1.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/index1.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/index1.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/index1.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/index1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/practical_example/indexing/writing_the_code.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:50.142027363 +0530
- +++ code/expected.out/index1.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/index1: not found
- $ g++ `xapian-config --cxxflags` code/c++/index1.cc code/c++/support.cc -o code/c++/built/index1 `xapian-config --libs`
- code/c++/built/index1 data/100-objects-v1.csv db > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/index1.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/index1.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/index1.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/index1.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/index1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/practical_example/searching/prefix.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:50.558005404 +0530
- +++ code/expected.out/index1.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/index1: not found
- $ g++ `xapian-config --cxxflags` code/c++/index1.cc code/c++/support.cc -o code/c++/built/index1 `xapian-config --libs`
- code/c++/built/index1 data/100-objects-v1.csv db > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/index1.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/delete1.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/delete1.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/delete1.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/delete1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/practical_example/searching/prefix.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:50.937985344 +0530
- +++ code/expected.out/delete1.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/delete1: not found
- $ g++ `xapian-config --cxxflags` code/c++/delete1.cc code/c++/support.cc -o code/c++/built/delete1 `xapian-config --libs`
- code/c++/built/delete1 db 1953-448 1985-438 > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/delete1.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/search1.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/search1.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/search1.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/practical_example/searching/prefix.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:51.329964681 +0530
- +++ code/expected.out/search1.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,2 @@
- -sh: 2: code/c++/built/search1: not found
- +1: #001 Ansonia Sunwatch (pocket compas dial)
- +'title:sunwatch'[0:10] = 1
- $ g++ `xapian-config --cxxflags` code/c++/search1.cc code/c++/support.cc -o code/c++/built/search1 `xapian-config --libs`
- code/c++/built/search1 db title:sunwatch > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search1.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/search1.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/search1.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/search1.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search1.db_description=3a=5c=22leather_case=5c=22_AND_title=3asundial.out: (/home/ayush/Desktop/workspace/xapian-docsprint/practical_example/searching/prefix.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:51.721944022 +0530
- +++ code/expected.out/search1.db_description=3a=5c=22leather_case=5c=22_AND_title=3asundial.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,2 @@
- -sh: 2: code/c++/built/search1: not found
- +1: #055 Silver altitude sundial in leather case
- +'description:"leather case" AND title:sundial'[0:10] = 55
- $ g++ `xapian-config --cxxflags` code/c++/search1.cc code/c++/support.cc -o code/c++/built/search1 `xapian-config --libs`
- code/c++/built/search1 db description:\"leather case\" AND title:sundial > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search1.db_description=3a=5c=22leather_case=5c=22_AND_title=3asundial.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/index1.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/index1.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/index1.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/index1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/practical_example/searching/running_the_search.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:52.121922952 +0530
- +++ code/expected.out/index1.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/index1: not found
- $ g++ `xapian-config --cxxflags` code/c++/index1.cc code/c++/support.cc -o code/c++/built/index1 `xapian-config --libs`
- code/c++/built/index1 data/100-objects-v1.csv db > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/index1.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/delete1.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/delete1.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/delete1.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/delete1.out: (/home/ayush/Desktop/workspace/xapian-docsprint/practical_example/searching/running_the_search.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:52.501902958 +0530
- +++ code/expected.out/delete1.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +0,0 @@
- -sh: 2: code/c++/built/delete1: not found
- $ g++ `xapian-config --cxxflags` code/c++/delete1.cc code/c++/support.cc -o code/c++/built/delete1 `xapian-config --libs`
- code/c++/built/delete1 db 1953-448 1985-438 > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/delete1.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/search1.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/search1.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/search1.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search1.db_watch.out: (/home/ayush/Desktop/workspace/xapian-docsprint/practical_example/searching/running_the_search.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:52.901881914 +0530
- +++ code/expected.out/search1.db_watch.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,8 @@
- -sh: 2: code/c++/built/search1: not found
- +1: #004 Watch with Chinese duplex escapement
- +2: #018 Solar/Sidereal verge watch with epicyclic maintaining power
- +3: #013 Watch timer by P
- +4: #033 A device by Favag of Neuchatel which enables a stop watch to
- +5: #015 Ingersoll "Dan Dare" automaton pocket watch with pin-pallet
- +6: #036 Universal 'Tri-Compax' chronographic wrist watch
- +7: #046 Model by Dent of mechanism for setting hands and winding up
- +'watch'[0:10] = 4 18 13 33 15 36 46
- $ g++ `xapian-config --cxxflags` code/c++/search1.cc code/c++/support.cc -o code/c++/built/search1 `xapian-config --libs`
- code/c++/built/search1 db watch > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search1.db_watch.out
- sh: 1: xapian-config: not found
- sh: 1: xapian-config: not found
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/search1.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/search1.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/search1.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- In file included from /usr/include/c++/5/unordered_set:35:0,
- from /usr/local/include/xapian/queryparser.h:37,
- from /usr/local/include/xapian.h:80,
- from code/c++/support.cc:1:
- /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
- #error This file requires compiler and library support \
- ^
- In file included from /usr/local/include/xapian.h:80:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/queryparser.h:96:10: error: ‘unordered_set’ in namespace ‘std’ does not name a template type
- std::unordered_set<std::string> stop_words;
- ^
- /usr/local/include/xapian/queryparser.h: In constructor ‘Xapian::SimpleStopper::SimpleStopper(Iterator, Iterator)’:
- /usr/local/include/xapian/queryparser.h:112:51: error: class ‘Xapian::SimpleStopper’ does not have any field named ‘stop_words’
- SimpleStopper(Iterator begin, Iterator end) : stop_words(begin, end) { }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘void Xapian::SimpleStopper::add(const string&)’:
- /usr/local/include/xapian/queryparser.h:115:42: error: ‘stop_words’ was not declared in this scope
- void add(const std::string & word) { stop_words.insert(word); }
- ^
- /usr/local/include/xapian/queryparser.h: In member function ‘virtual bool Xapian::SimpleStopper::operator()(const string&) const’:
- /usr/local/include/xapian/queryparser.h:118:9: error: ‘stop_words’ was not declared in this scope
- return stop_words.find(term) != stop_words.end();
- ^
- In file included from /usr/local/include/xapian.h:85:0,
- from code/c++/support.cc:1:
- /usr/local/include/xapian/cluster.h: At global scope:
- /usr/local/include/xapian/cluster.h:157:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, doccount> termfreq;
- ^
- /usr/local/include/xapian/cluster.h:195:10: error: ‘unordered_map’ in namespace ‘std’ does not name a template type
- std::unordered_map<std::string, double> weights;
- ^
- code/expected.out/search1.db_Dent_watch.out: (/home/ayush/Desktop/workspace/xapian-docsprint/practical_example/searching/running_the_search.rst): Exit status 32512, expected 0
- --- tmp.out 2018-02-18 23:13:53.297861105 +0530
- +++ code/expected.out/search1.db_Dent_watch.out 2017-08-10 14:41:44.689029766 +0530
- @@ -1 +1,11 @@
- -sh: 2: code/c++/built/search1: not found
- +1: #046 Model by Dent of mechanism for setting hands and winding up
- +2: #004 Watch with Chinese duplex escapement
- +3: #018 Solar/Sidereal verge watch with epicyclic maintaining power
- +4: #013 Watch timer by P
- +5: #094 Model of a Lever Escapement , 1850-1883
- +6: #093 Model of Graham's Cylinder Escapement, 1850-1883
- +7: #033 A device by Favag of Neuchatel which enables a stop watch to
- +8: #015 Ingersoll "Dan Dare" automaton pocket watch with pin-pallet
- +9: #086 Model representing Earnshaw's detent chronometer escapement, 1950-1883
- +10: #036 Universal 'Tri-Compax' chronographic wrist watch
- +'Dent watch'[0:10] = 46 4 18 13 94 93 33 15 86 36
- $ g++ `xapian-config --cxxflags` code/c++/search1.cc code/c++/support.cc -o code/c++/built/search1 `xapian-config --libs`
- code/c++/built/search1 db Dent watch > tmp.out 2> tmp2.out
- $ cat tmp2.out >> tmp.out
- $ vimdiff tmp.out code/expected.out/search1.db_Dent_watch.out
- /home/ayush/Desktop/workspace/xapian-docsprint/advanced/learning_to_rank.rst:108: WARNING: Include file '/home/ayush/Desktop/workspace/xapian-docsprint/advanced/search_letor' not found or reading it failed
- /home/ayush/Desktop/workspace/xapian-docsprint/advanced/learning_to_rank.rst:145: ERROR: 4 error(s) with example code
- /home/ayush/Desktop/workspace/xapian-docsprint/howtos/boolean_filters.rst:147: ERROR: 6 error(s) with example code
- /home/ayush/Desktop/workspace/xapian-docsprint/howtos/facets.rst:130: ERROR: 4 error(s) with example code
- /home/ayush/Desktop/workspace/xapian-docsprint/howtos/range_queries.rst:298: ERROR: 22 error(s) with example code
- /home/ayush/Desktop/workspace/xapian-docsprint/howtos/sorting.rst:147: ERROR: 10 error(s) with example code
- /home/ayush/Desktop/workspace/xapian-docsprint/howtos/synonyms.rst:137: ERROR: 12 error(s) with example code
- /home/ayush/Desktop/workspace/xapian-docsprint/practical_example/indexing/updating_the_database.rst:57: ERROR: 4 error(s) with example code
- /home/ayush/Desktop/workspace/xapian-docsprint/practical_example/indexing/writing_the_code.rst:18: ERROR: 2 error(s) with example code
- /home/ayush/Desktop/workspace/xapian-docsprint/practical_example/searching/prefix.rst:42: ERROR: 8 error(s) with example code
- /home/ayush/Desktop/workspace/xapian-docsprint/practical_example/searching/running_the_search.rst:31: ERROR: 8 error(s) with example code
- /home/ayush/Desktop/workspace/xapian-docsprint/advanced/learning_to_rank.rst:37: WARNING: Could not lex literal_block as "c++". Highlighting skipped.
- /home/ayush/Desktop/workspace/xapian-docsprint/concepts/search/search_limitations.rst:46: WARNING: unknown document: /advanced/remote
- *** No version of example postingsource in language c++ - patches welcome!
- *** 80 total error(s) with example code
- Error in atexit._run_exitfuncs:
- Traceback (most recent call last):
- File "conf.py", line 916, in xapian_check_examples
- raise SystemExit()
- SystemExit
- Build finished. The HTML pages are in _build/html.
Add Comment
Please, Sign In to add comment