Thread:Project:Support desk/How do I format search results / add section links to search results (the same way Wikipedia and other WikiMedia sites do)?/reply (5)

So I updated to the latest version of LuceneSearch and tried a bunch of config settings from the NOC - nothing from Lucene seems to affect this - if anyone knows exactly which feature it is that is allowing these kinds of results, please let me know. I've looked at this: org.apache.lucene.search.highlight in lucene.apache.org - however i'm not sure if Lucene Search has a function that actually calls it (maybe Rainman knows?) - an example of what I'm looking for is something like this:
 * Ribeira Brava, Madeira (Section Madeira Boal)

Which is derived from searching Wikipedia for 'Madeira, Portugal'

so if anyone knows the answer, please fill me in!