Hmm, if I set reopenReaders to false, as SolrIndexReader objects between
before and after commit are different, ExternalFileField works as expected.
If I set reopenReaders to true, it doesn't work. ... I don't like this
dependency.
What I don't understand is that if I set reopenReaders to true in
solrconfig-functionquery.xml, TestFunctionQuery.testExternalField()
is done successfully.
Koji
--
http://www.rondhuit.com/en/
Yonik Seeley wrote:
Are you sure?
TestFunctionQuery.testExternalField() has a test for reloading on a commit.
Are you putting the file in the data directory?
-Yonik
http://www.lucidimagination.com
2009/11/28 Koji Sekiguchi <k...@r.email.ne.jp>:
It seems that ExternalFileField doesn't work in 1.4.
In 1.4, I need to restart Solr to reflect external_[fieldname] file.
Only <commit/> was needed in 1.3...
Koji