Mahout Could not create query scorer for query running lucene2seq

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Mahout Could not create query scorer for query running lucene2seq

osymad
This post has NOT been accepted by the mailing list yet.
Reference : http://stackoverflow.com/questions/21869039/mahout-could-not-create-query-scorer-for-query-running-lucene2seq

$MAHOUT_HOME/bin/mahout lucene2seq \
--output /user/tce/tce-data/coreClass/tce-seq \
--input /user/tce/solr/coreClass/data/index \
--idField target \
--fields content \
--query "classified:3"

14/02/18 19:12:52 INFO mapred.JobClient: Running job: job_201402181443_0048
14/02/18 19:12:53 INFO mapred.JobClient:  map 0% reduce 0%
14/02/18 19:13:02 INFO mapred.JobClient:  map 20% reduce 0%
14/02/18 19:13:03 INFO mapred.JobClient: Task Id : attempt_201402181443_0048_m_000001_0, Status : FAILED
java.lang.IllegalArgumentException: Could not create query scorer for query: classified:3
    at org.apache.mahout.text.LuceneSegmentRecordReader.initialize(LuceneSegmentRecordReader.java:63)
    at org.apache.mahout.text.LuceneSegmentInputFormat.createRecordReader(LuceneSegmentInputFormat.java:76)
    at org.apache.hadoop.mapred.MapTask$NewTrackingRecordReader.<init>(MapTask.java:488)
    at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:731)
    at org.apache.hadoop.mapred.MapTask.run(MapTask.java:364)
    at org.apache.hadoop.mapred.Child$4.run(Child.java:255)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:415)
    at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1190)
    at org.apache.hadoop.mapred.Child.main(Child.java:249)


I have only 7 documents within Solr, all documents have "classified" field with its values. I can query successful with solr admin "classified:3"

Using Solr 4.3.0, Mahout 0.8

Thanks in advance