lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexandre Rafalovitch <arafa...@gmail.com>
Subject Re: XInclude in data-config.xml
Date Fri, 12 Apr 2013 11:08:01 GMT
Are you sure your original problem is not fixable with resolvable
properties and variable substitutions ${varname}? Because Solr has good
support for that.

Otherwise, check that you have the right relative file path. I am not sure
what the XML processor think it is. Use truss/strace on Unix/Mac and
Process Monitor on Windows. It is often faster to check that to try to
guess.

Regards,
    Alex

Personal blog: http://blog.outerthoughts.com/
LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch
- Time is the quality of nature that keeps events from happening all at
once. Lately, it doesn't seem to be working.  (Anonymous  - via GTD book)


On Fri, Apr 12, 2013 at 3:31 AM, stockii <stock.jonas@googlemail.com> wrote:

> hello.
>
> is it possible to include some entities with XInclude in my
> data-config.xml?
>
> i tried with this line:
> <xi:include href="solr/entity.xml"
> xmlns:xi="http://www.w3.org/2001/XInclude" />
>
> in my "entity.xml"  is something like:
> <entity name="name" query="SELECT * FROM table"></entity>
>
> some ideas, why does not work?
> this blog sounds good for me =(
> http://www.raspberry.nl/2010/10/30/solr-xml-config-includes/
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/XInclude-in-data-config-xml-tp4055487.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

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