I'm a little confused about what you actually expect to see. I mean, it
sounds like all you are doing is numbering N query results as positions
1..N. But that's too obvious to be useful. Maybe you could provide an
example.
Or are you talking about query refinement, where you do one query and record
the ordinal position in the scored query results, and then do some number of
sub-queries and show those original document positions for each sub-query?
If so, you would do that in your own client code, or maybe implement a
custom search component that has a "base/original query" to obtain the base
document positions.
In any case, please show an example.
-- Jack Krupansky
-----Original Message-----
From: deniz
Sent: Friday, October 05, 2012 5:13 AM
To: solr-user@lucene.apache.org
Subject: Adding a new pseudo field
Hi all,
I wanna have a field for each document which will simply store the doc's
position ( rank, not its score ) for each query. so for each different query
it will show the doc's new rank within the whole search result...
I have been digging the source code ( 4.0 Beta ) but for now couldnt find
anywhere to modify for this purpose. I have checked some classes in "core"
but still couldnt find anything...
anyone tried to do a similar thing? which class should i check? or better to
implement a plugin? if a plugin is okay. then which class i should plug?
-----
Zeki ama calismiyor... Calissa yapar...
--
View this message in context:
http://lucene.472066.n3.nabble.com/Adding-a-new-pseudo-field-tp4011995.html
Sent from the Solr - User mailing list archive at Nabble.com.