=true
stored=true multiValued=true/
-
Any help would be appreciate.
Thanks in advance.
S. Christin
--
Jerome Eteve.
[EMAIL PROTECTED]
http://jerome.eteve.free.fr/
--
View this message in context:
http://www.nabble.com/Problem-with-html-code-inside-xml
this message in context:
http://www.nabble.com/Problem-with-html-code-inside-xml-tp12877194p15907551.html
Sent from the Solr - User mailing list archive at Nabble.com.
On Fri, Mar 7, 2008 at 5:11 PM, Latj [EMAIL PROTECTED] wrote:
When I use HTML::Entities to encode my text, I get this error:
SEVERE: org.xmlpull.v1.XmlPullParserException: could not resolve entity
named 'para'
Its complaining about finding: para; in my text. Anyone know why this
is
well... the xml output has changed and I receive
lt;stronggt;hhlt;stronggt; sic!
So the problem is not a problem...
Thanks
Steve
Le 3 oct. 07 à 01:09, Chris Hostetter a écrit :
: I created a field type:
:
: fieldType name=htmlTxt class=solr.TextField
positionIncrementGap=100
Thanks
I use this solution:
put ![CDATA[ Here my hml code ]] in the xml to be indexed and
it works, nothing to change in the xsl.
In the schema I use this fieldType
fieldType name=html class=solr.TextField
positionIncrementGap=100
analyzer
tokenizer
looking for a simple solution.
Thanks in advance
cheers
Y.
Message d'origine
De: [EMAIL PROTECTED]
Sujet: Re: Problem with html code inside xml
Date: Tue, 2 Oct 2007 16:15:26 +0200
A: solr-user@lucene.apache.org
Thanks
I use this solution:
put ![CDATA[ Here my hml code ]] in the xml
: I created a field type:
:
: fieldType name=htmlTxt class=solr.TextField positionIncrementGap=100
...
: Everything works (the div tags, p tags are removed) but some
: strongnnn/strong or br/ tags are style in the text after indexing.
i cut/paste that fieldtype into the example
: SimplePostTool: FATAL: Connection error (is Solr running at
http://localhost:8983/solr/update ?): java.io.IOException: Server returned HTTP
response code: 500 for URL: http://localhost:8983/solr/update
:
: Is there any way to let Solr to be more verbose than that ?
Solr outputs all errors
Hello,
I've got some problem with html code who is embedded in xml file:
Sample source .
content
stories
div class=storyTitle
Les débats
/div
div class=storyIntroductionText
Le premier tour des élections
If I understand, you want to keep the raw html code in solr like that
(in your posting xml file):
field name=storyFullText
html/html
/field
I think you should encode your content to protect these xml entities:
- lt;
- gt;
- quot;
- amp;
If you use perl, have a look at HTML::Entities.
On Tue, 2007-09-25 at 12:06 +0100, Jérôme Etévé wrote:
If I understand, you want to keep the raw html code in solr like that
(in your posting xml file):
field name=storyFullText
html/html
/field
I think you should encode your content to protect these xml entities:
- lt;
- gt;
-
11 matches
Mail list logo