On 25 March 2014 15:59, Michael Clivot <cli...@netmedia.de> wrote: > Hello, > > I have the following issue and need help: > > One HTML file has different parts for different countries. > For example: > > <!-- Country: FR, BE ---> > .... > Address for France and Benelux > .... > <!-- Country End --> > <!-- Country: CH --> > .... > Address for Switzerland > .... > <!-- Country End --> > > Depending on a parameter, I show or hide the parts on the website > Logically, all parts are in the index and therefore all items are found by > SolR. > My question is: how can I have only the items for the current country in my > result list?
How are you fetching the HTML content, and indexing it into Solr? It is probably best to handle this requirement at that point. Haven't used Nutch ( http://nutch.apache.org/ ) recently, but you might be able to use it for this. Regards, Gora