lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Rocco <alel...@gmail.com>
Subject Storing RandomSortField
Date Tue, 18 May 2010 17:25:28 GMT
Hi guys,

Is there any way to mak a RandomSortField be stored?
I'm trying to do it for debugging purposes,
My intention is to take a look at the values that are stored there to
determine the sorting that is being applied to the results.

I tried to make it a stored field as:
<field name="randomorder" type="random" stored="true" />

And also tried to create another text field, copying the result from the
random field like this:
<field name="randomorderdebug" type="text" indexed="true" stored="true"/>
<copyField source="randomorder" dest="randomorderdebug"/>

Neither of the approaches worked.
Is there any restriction on this kind of field that prevents it from being
displayed in the results?

Thanks,
Alexandre

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