You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Michael Clivot <cl...@netmedia.de> on 2014/03/25 11:20:21 UTC
Indexing parts of an HTML file differently
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?
Thanks a lot
Regards
Michael
_______________________________
clivot@netmedia.de
netmedia - the Social Workplace Experts
netmedianer GmbH, Neugrabenweg 5-7, 66123 Saarbr?cken, Germany
fon: +49 681 37988-12, fax: +49 681 37988-99, mobil: +49 151 54775197
Gesch?ftsf?hrer: Boris Brenner, Tim Mik?a | HRB Saarbr?cken 13975
https://twitter.com/netmedianer, https://www.facebook.com/netmedianer
AW: Indexing parts of an HTML file differently
Posted by Michael Clivot <cl...@netmedia.de>.
Sorry, wrong list
Von: Michael Clivot [mailto:clivot@netmedia.de]
Gesendet: Dienstag, 25. März 2014 11:20
An: dev@lucene.apache.org
Betreff: Indexing parts of an HTML file differently
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?
Thanks a lot
Regards
Michael
_______________________________
clivot@netmedia.de<ma...@netmedia.de>
netmedia - the Social Workplace Experts
netmedianer GmbH, Neugrabenweg 5-7, 66123 Saarbrücken, Germany
fon: +49 681 37988-12, fax: +49 681 37988-99, mobil: +49 151 54775197
Geschäftsführer: Boris Brenner, Tim Mikša | HRB Saarbrücken 13975
https://twitter.com/netmedianer, https://www.facebook.com/netmedianer