On Thu, 24 Apr 2003, Steven Moy wrote:
> If I have documents with multiple fields of the same name, e.g. the field
> named <client> in an example like this:
> <salesperson>Mr. Foo</salesperson>
> <company>XYZ Corp.</company>
> <client>John Doe</client>
> <client>Jane Doe</client>
> <client>John Smith</client>
> If I then choose to display the field contents in the search results ( -x
> "<salesperson>|<client>|<company>|") it displays the clients all
> concatenated together:
> Mr.Foo|John Doe Jane Doe John Smith|XYZ Corp.
> Is there any way to get at the clients individually? Or maybe at least get
> a separator between the clients? For example "John Doe#JaneDoe#John Smith"
> would be great. Then I could just parse that string.
Do you mind recompiling?
in src/docprop.c search for:
if ( add_a_space )
p->propValue[p->propLen++] = ' ';
Bill Moseley email@example.com
Received on Thu Apr 24 21:53:06 2003