Thanks, I think part of my issue may be I am misunderstanding how to use the
entity and field tags to import data in a particular format and am looking
for a few more examples.
Lets say I have a database table with 2 columns that contain metadata fields
and values, and would like to import this i
I'm having a difficult time understanding how multivariable fields work with
the DataImportHandler when the source is a RDBMS. I've read the following
from the wiki:
--
What is a row?
A row in DataImportHandler is a Map (Map). In the map , the
key is the name of the field and the value c
dschoolnow.com
On 8/6/10 4:39 PM, harrysmith wrote:
> I'm having a difficult time understanding how multivariable fields work
> with
> the DataImportHandler when the source is a RDBMS. I've read the following
> from the wiki:
>
--
View this message in context:
http://l
That's fine, i'm ok with the sub-queries and the additional overhead is to be
expected and how I would have thought it would work.
I guess my question is does it work that way at all or am I misinterpreting
something? Have others successfully imported dynamic multivalued fields in a
child entity
This is increasingly more looking like a bug. To recap, I am trying to use
the DIH to import multivalued dynamic fields and using a variable to name
that field.
Upon further testing, the multivalued import works fine with a
static/constant name, but only keeps the first record when naming the fie
I am attempting to follow the instructions located at:
http://wiki.apache.org/solr/ExtractingRequestHandler#Getting_Started_with_the_Solr_Example
I have downloaded the most recent clean build from Hudson.
After running 'ant example' I get the following error:
C:\solr_build\apache-solr-4.0-201
In this particular case I would like to get the trunk. Is there a different
link for binary distributions of nightly builds?
I had been downloading from here:
http://hudson.zones.apache.org/hudson/job/Solr-trunk/lastSuccessfulBuild/artifact/trunk/solr/dist/
In the case I did want to compile fro
To follow up on my own question, it appears this is only an issue when using
the DataImport console debugging tools. It looks like when submitting the
debugging request, the data-config.xml is sent via a GET request, which
would fail. However, using the exact same data-config.xml via a full-impor
I think I know where you're headed, I was struggling with the same issue. In
my case, using results from Solr I link to a detailed profile using an ID,
but I am displaying the String value. I was looking for something like:
12345
Feature 1 label
1
Feature 2 label
2
...or so
Win XP, Solr 1.4.1 out of the box install, using jetty. If I add greater than
or less than (ie < or >) in any xml field and attempt to load or run from
the DataImportConsole I receive a SAXParseException. Example follows:
If I don't have a 'less than' it works just fine. I know this must work,
be
Shawn Heisey-4 wrote:
>
> Because < and > are critical characters in XML, you have to encode them
> to actually use them as part of your config, just as you do on an HTML
> page. Use < instead of <. When I first ran into this, I was
> surprised that &rt; was not required as well, but it's p
Looking for some clarification on DIH to make sure I am interpreting this
correctly.
I have a wide DB table, 100 columns. I'd rather not have to add 100 values
in schema.xml and data-config.xml. I was under the impression that if the
column name matched a dynamic Field name, it would be added. I
>
>Two things, one are your DB column uppercase as this would effect the out.
>
>
Interesting, I was under the impression that case does not matter.
>From http://wiki.apache.org/solr/DataImportHandler#A_shorter_data-config :
"It is possible to totally avoid the field entries in entities if the
Anyone ever see this error on an import?
Caused by: java.lang.NullPointerException
at
oracle.jdbc.driver.DBConversion._CHARBytesToJavaChars(DBConversion.java:1015)
The Oracle column being converted is VARCHAR2(4000 Char) and there are NULLs
present in the record set.
Envrionment: Solr
>What I get when I search for, say, "XYZ", is a document that has XYZ Corp as
a manufacturer name, but the >array of parts_manu appears to be a child of
the document, not the parts array.
>
>Is this the correct behavior, insofar as a document has a single level of
elements, and that's it? If so,
15 matches
Mail list logo