lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard Lee" <>
Subject Help required with external value source SOLR-351
Date Fri, 25 Apr 2008 15:44:29 GMT
Help required with external value source SOLR-351

I'm trying to get this new feature to work without much success. I've
completed the following steps.

1) dowloaded latest nightly build
2) added the following to schema.xml
<fieldtype name="file" keyField="job_id" defVal="1" stored="false"
indexed="false" class="solr.ExternalFileField" valType="float"/>


<field name="cpc" type="file"/>

3) Created a file in the solr index folder - "external_cpc" with the
following entries

The ids correspond to job_id ids in the index.

when I run a query _val_:cpc the max score just corresponds to the defval 1.
It doesn't seem to be picking up anything from the external file.

from a query

job_id:4901708  _val_:cpc

In the explain I get

product of:
    1.0 = float(cpc{type=file,properties=})=1.0
    1.0 = boost

what am I doing wrong?



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message