search for: stringvaluerangeprocessor

Displaying 1 result from an estimated 1 matches for "stringvaluerangeprocessor".

2009 Nov 15
1
setting ValueRangeProcessor at runtime
...cessors at run time based on a configuration file. But I seem to be running into (what I think is) a C++ scope issue. I tried just a simple test to see if I could add 5 VPs in a loop. Xapian::QueryParser qparser; Xapian::Query query; int vp = 0; while(vp < 5) { Xapian::StringValueRangeProcessor sproc(vp++); qparser.add_valuerangeprocessor(&sproc); } query = qparser.parse_query(myquery); That will compile, but when that code executes I get this error: pure virtual method called terminate called without an active exception Abort trap I *think* what's happening i...