On 06/30/2008 09:48 AM, Jordan Hayes wrote:
>> Does anybody know of a possibilitiy to rank swish-e output by
>> the position of the matching word in the target file? Or at least
>> a way of printing this information in the search output?
> That information isn't stored by SWISH-E, so you have to go do it
not exactly true. The word position data is stored in the index, but it is not currently
available as a swishproperty for output in search results, so you can not display or sort
You could work around that by dumping the index word position data to a database of some
kind and then pull from that db to display the word position. See the -T option for
swish-e for dumping index information.
Peter Karman . peter(at)not-real.peknet.com . http://peknet.com/
Users mailing list
Received on Mon Jun 30 10:47:19 2008