Could I use another Similarity that returned 1 for most of the scoring terms and the actual term frequency (rig the equation)? Could I then alternate the DefaultSimilarity and HitsPerDocSimilairty per search? LIA mentioned something about needing to rebuild the index if you change Similarity's. That does not make sense to me yet. It would seem you could alternate them. What does scoring have to do with indexing?
Thanks, Mark On 12/16/06, Mark Miller <[EMAIL PROTECTED]> wrote:
I have not really looked into this yet, but maybe you can save me some time -- Is it feasible/simple to sort by the number of hits found per document? Would this require changing the scoring system (remove idf etc etc) and doing a normal relevancy search? Could it be done with functionquery? Any Hints? If it is a lot of work I am not interested in doing it, but if it is somewhat simple it would make a few customers feel fuzzy. Thanks, Mark