newbie - filter to only show queried field when query is free text

2011-04-15 Thread bryan rasmussen
Hi, If I want to filter a search result to not return all fields as per the default but I don't know what field my hits will be in. This is basically for unstructured document type data, for example large HTML or DOCBOOK documents. thanks, Bryan Rasmussen

Re: newbie - filter to only show queried field when query is free text

2011-04-15 Thread Marek Tichy
Hi There may be better ways but as far as my knowledge goes, I'd try to use the highhlighting component, with hl.requireFieldMatch the hightlighting response only includes fields where hightlights were applied (match was found), which is probably what you want. Best Marek Tichy Hi, If I want