It's all about the answers!

Ask a question

JFS Index problem


Stephen McCants (2676) | asked Dec 10 '09, 8:08 p.m.
Hello All,
I'm having problems getting an index to work as desired. Here is the (simplified) object that
I'm indexing:

<xml>
<com>
</com>

I'm wanting to create an index on "contextId". So I created something like this:

<jazz>
<jazz>
</jazz>

This works fine, resulting in the desired index (note: much is removed for ease of reading the
important parts):

<rdf>
<rdf>
<j>_9BuyEOXpEd60E_5OPtwWDg</j>
</rdf>
</rdf>

However, this only works for "TextContext" elements. I actually cannot predict the name of the
element, so I tried this:

<jazz>
<jazz>
</jazz>

I believe this should produce the same results, but instead it produces nothing. What am I doing
wrong here?

Thanks in advance!

--Stephen

2 answers



permanent link
Stephen McCants (2676) | answered Dec 14 '09, 2:01 p.m.
Please view the message above in a news reader so that the XML isn't mangled as it is on the web forum.

permanent link
Stephen McCants (2676) | answered Dec 14 '09, 3:08 p.m.
Defect
https://jazz.net/jazz/web/projects/Jazz%20Foundation#action=com.ibm.team.workitem.viewWorkItem&id=101716
opened at David Charboneau's request. The rest of the discussion will be in the defect.

--Stephen

Your answer


Register or to post your answer.