From: David M. <ma...@ha...> - 2013-02-22 17:40:07
|
Hi Günter, At Thu, 21 Feb 2013 16:33:52 +0100, Günter Hipler wrote: > > Thanks for your response David! > > On 02/21/2013 03:01 PM, David Maus wrote: > > We are currently discussing how and where the new search system will > > be integrated in 2.0; if you want to track the integration you should > > track the branch > > > > `search-refactor' in the VuFind main repository. > > Ok - I cloned the latest VuFind core. Wasn't aware of the two new > branches search-refactor and solr4x. > It seems to me branch search-refactor is nearly the same as your > repository vf2-search-subsystem on github.com/dmj > But only nearly ;) > > I tried to start a search to see the refactoring "in Action". But it > isn't used at all - only the classic search components and not as you > described within your mail-messages 'beside' the traditional > component. > Any hints? We resolved the question where to integrate the new search just this morning (my timezone) -- If you pull now you can see the new search in action in Solr/Results::performSearch(), getRecord(), getSimilarRecords() within the some limitations (only performs the search, rest is done the old way; spellcheck and highlighting not fully implemented). I'll write a longer report about the new systems and how to move forward with the integration over the weekend. > > I guess you are using your unit tests within your VuFindSearch module > I tried to use it but the process isn't able to find the class-loader > required in bootstrap (see below). Any idea what is missing? > Yes: The bootstrap.php assumes that the Zend Framework is in the include path, the include path is set in phpunit.xml as a relative path. Running the tests by cd'ing into the unit-test subdirectory first should work. cd /usr/local/vufind/newsearch/module/VuFindSearch/tests/unit-tests/ phpunit Best, -- David -- David Maus Herzog August Bibliothek - D-38299 Wolfenbuettel Phone: +49-5331-808-317 Email: ma...@ha... Digital Humanities Research Collaboration http://www.gcdh.de/en/projects/dh/ PGP Key 0x0CC2E093512F7385 Fingerprint 1AD2 EE67 224F 18C5 EA55 98AD 0CC2 E093 512F 7385 |