lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ac <chy101...@gmail.com>
Subject propagate payload byte[] until collector collect ?
Date Mon, 22 Aug 2011 14:59:53 GMT
hi ,
What is the correct way to propagate the payload byte array at
collector collecting time ?
Currently we are using a ThreadLocal object inside our Similarity
subclass (during scoring payload) to keep the reference
of the current payload. Then we retrieve the payload byte array at
collecting time.


The span scorer has a reference to the Span object, however, the
Scorer class does not allow us to retrieve
sub scorers.

We are using lucene 2.9.4

thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message