Hello,
I have an index full text on xml files.
Exemple:
---
si les ruches d’abeilles
> prouvent la
> monarchie, les fourmillières, les troupes d
Excuse me,
i explain my need:
i have a xml file like exemple:
I want to indexing the xsl transformation; i transform my xml to html, i
have:
-
si les ruches d’abeilles prouvent la
monarchie, les fourmillières, les troupes d’éléphants ou
de castors prouvent
Thanks for your answers. Unfortunately, i can't try before monday.
In first my solr's settings:
In schema.xml:
In my php :
in a loop on all document xml of my database Exist-db (xml database wich
store xml files)
A exemple of a doc xml:
I follow the steps:
1 - i transform xml to html, it's a
the xslt do that
Jack Krupansky-2 wrote
>
> The bottom line is that you will need to have your own code that will
> detect
> the "choice" tag and map it to the desired choice, and you will have to do
> that before you "strip" html.
>
> So, given:
>
>
>
Hello,
I advanced on my problem.
The index and fieldtype are good :
I forgot copyfield "body_strip_html" on text, the defaultSearchField.
Newbie's mistake.
Now, solr returns all xml files i want.
But, in php, the text isn't displayed for 2 xml files (with term "castor"
snipped by html or xml t
I resolve my problem:
I had to specify the field to return with my query.
Thanks A LOT for your help !
--
View this message in context:
http://lucene.472066.n3.nabble.com/Strip-html-tp3987051p398.html
Sent from the Solr - User mailing list archive at Nabble.com.