I check what could be done on that :

  • Today implementation of spatial search in Hibernate Search is filter based
  • The scoring processus is done at query time not at filtering time
  • We would have to compute distance to center for all documents in the index to compute the score before they are spatially filtered

This is not what we want as it will kill perf.

So to do variable score we should move form a filter implementation to a whole new Lucene Query level implementation of the spatial functionnality.

I think this should be better achieved with a native 4.0 Quey that re implemeting on Hibernate Search level.

WDYT ?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira