lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Walter Closenfleight <>
Subject Re: Methods for preserving text entities?
Date Wed, 29 Jun 2011 17:46:21 GMT
Ah, I think I suddenly answered my own question, but appreciate further
insight if you have it. I converted the & in &myword; to an &amp; so it
looks like this:

 <field name="text">Solr is a really &amp;myword; search engine!</field>

On Wed, Jun 29, 2011 at 12:40 PM, Walter Closenfleight <> wrote:

> We have some text entities in fields to index (and search) like so:
> <field name="text">Solr is a really &myword; search engine!</field>
> I would like to preserve/protect &myword; and not resolve it in the
> indexing or search results.
> What sort of methods have people used? I realize the results are returned
> in XML format, so preserving these text entities may be hard. Are people
> replacing the "&" character or doing something else?
> Thanks in advance!

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message