Ok,

Thanks for the advice!

I got the XmlRequestHandler code. I see it uses Stax right at the XML it
gets. There isn't anything to plug in or out to get an easy way to change
the xml format.

So, I am thinking about creating my own RequestHandler as  said already.

Would it be too slow to use a XQuery approach, or would it be ok?

2008/5/8 Tricia Williams <[EMAIL PROTECTED]>:

> I frequently use the Solr API:
> http://lucene.apache.org/solr/api/index.html
>
> Tricia
>
>
> Alexander Ramos Jardim wrote:
>
>> Sorry for the stupid question, but I could not find Solr API code. Could
>> anyone point me where do I find it?
>>
>> 2008/5/8 Alexander Ramos Jardim <[EMAIL PROTECTED]>:
>>
>>
>>
>>> Nice,
>>> Thank you. I will try this out.
>>>
>>> 2008/5/8 Ryan McKinley <[EMAIL PROTECTED]>:
>>>
>>>
>>>
>>>
>>>> The XML format is fixed, and there is not a good way to change it.  If
>>>> you
>>>> can transform your custom docs via XSLT, down the line this may be
>>>> possible
>>>>  (it currently is not)
>>>>
>>>> If you really need to index your custom XML format, write your own
>>>> RequestHandler modeled on XmlRequestHandler, but (most likely) not
>>>> extending
>>>> it.
>>>>
>>>>
>>>>
>>>>
>>>> On May 8, 2008, at 5:29 PM, Alexander Ramos Jardim wrote:
>>>>
>>>>
>>>>
>>>>> Hello,
>>>>>
>>>>> I want to know how do I set the xml file format that XmlRequestHandler
>>>>> understands. Should I extend it, or it can be done via some
>>>>> configuration,
>>>>> maybe some xml file describing the template it should understand?
>>>>>
>>>>> I understand the easiest way to do that is getting the original xml
>>>>> file
>>>>> and
>>>>> converting it the expected format via XQuery or XSLT. After that I
>>>>> would
>>>>> post the file. I could extend XmlRequestHandler, call the apropriate
>>>>> method
>>>>> and  run a  the correct method from the original XmlRequestHandler
>>>>> right?
>>>>>
>>>>> --
>>>>> Alexander Ramos Jardim
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>> --
>>> Alexander Ramos Jardim
>>>
>>>
>>
>>
>>
>>
>>
>>
>
>


-- 
Alexander Ramos Jardim

Reply via email to