: The case in point is DIH. DIH uses the standard DOM parser that comes
: w/ JDK. If it reads the xml properly do we need to complain?. I guess
: that data-config.xml may not be used for any other purposes.
that's a vague statement as well ... there is no such thing as the
standard DOM parser
Actually, most XML parsers don't require you to escape such characters in
attributes. You are welcome to try this out, just look at the example-DIH :)
On Tue, Oct 21, 2008 at 11:11 PM, Steven A Rowe [EMAIL PROTECTED] wrote:
Wow, I really should read more closely before I respond - I see now,
Hi Shalin,
I wasn't talking about the behavior of parsers in the wild, but rather about
the XML specification (paraphrasing):
1. An XML document is not well-formed unless it matches the production labeled
document.
2. Violations of well-formedness constraints are fatal errors.
3. Once a fatal
The case in point is DIH. DIH uses the standard DOM parser that comes
w/ JDK. If it reads the xml properly do we need to complain?. I guess
that data-config.xml may not be used for any other purposes.
On Wed, Oct 22, 2008 at 10:10 PM, Walter Underwood
[EMAIL PROTECTED] wrote:
On 10/22/08 8:57
hello everybody
thank you all for your help and ideas it works now.
what are we doing wrong?
Florian
actually, I am not sure what we did wrong. After we started it again
from scratch and with the simplified query it all worked as expected.
Regards
Florian
On 10/21/2008 at 12:14 AM, Noble Paul നോബിള് नोब्ळ् wrote:
On Tue, Oct 21, 2008 at 12:56 AM, Shalin Shekhar Mangar [EMAIL PROTECTED]
wrote:
Your data-config looks fine except for one thing -- you do not need to
escape '' character in an XML attribute. It maybe throwing off the
parsing
Wow, I really should read more closely before I respond - I see now, Noble,
that you were talking about DIH's ability to parse escaped ''s in attribute
values, rather than about whether '' was an acceptable character in attribute
values.
I should repurpose my remarks to note to Shalin, though,
sorry to bother you again, but the delta import still does not work for
me :-(
We tried:
* delta-import by full-import
entity name=articles-delta rootEntity=false
query=your-delta-query-here with entity=articles-deltaclean=false
* delta-import by full-import with simplified query
*
On Tue, Oct 21, 2008 at 12:56 AM, Shalin Shekhar Mangar
[EMAIL PROTECTED] wrote:
Your data-config looks fine except for one thing -- you do not need to
escape '' character in an XML attribute. It maybe throwing off the parsing
code in DataImportHandler.
not really '' is fine in attribute
you are still doing a delta import . with the modified data-config you
must do a command=full-import
On Mon, Oct 20, 2008 at 7:31 PM, Florian Aumeier
[EMAIL PROTECTED] wrote:
sorry to bother you again, but the delta import still does not work for me
:-(
We tried:
* delta-import by
Noble Paul നോബിള് नोब्ळ् schrieb:
the last-index_time is available only from second time onwards that is
. It expects a full-import to be done first
It knows that by the presence of dataimport.properties in the config
directory. Did you check if it is present?
yes, I did a check and the
Lance Norskog schrieb:
If you make a database view with the query, it is easy to examine the data you
want to index. Then, your solr import query would just pull the view. The Solr
setup file is much simpler this way.
I will try and let you know.
the last-index_time is available only from second time onwards that is
. It expects a full-import to be done first
It knows that by the presence of dataimport.properties in the config
directory. Did you check if it is present?
On Thu, Oct 16, 2008 at 5:33 PM, Florian Aumeier
[EMAIL PROTECTED]
Shalin Shekhar Mangar schrieb:
You are missing the pk field (primary key). This is used for delta
imports.
I added the pk field and rebuild the index yesterday. However, when I
run the delta-import, I still have this error message in the log:
INFO: Starting delta collection.
Oct 15, 2008
The delta implementation is a bit fragile in DIH for complex queries
I recommend you do delta-import using a full-import
it can be done as follows
define a diffferent entity
dataConfig
dataSource type=JdbcDataSource driver=org.postgresql.Driver
url=jdbc:postgresql://bm02:5432/bm user=user /
Hi,
I have some problems with delta-import. Here are the infos I have.
The result from the web API, apparantly everything is fine:
response
−
lst name=responseHeader
int name=status0/int
int name=QTime0/int
/lst
−
lst name=initArgs
−
lst name=defaults
str name=configdb-psql-data-config.xml/str
Noble Paul നോബിള് नोब्ळ् schrieb:
apparently you have not specified the deltaQuery attribute in the entity.
Check the delta-import section in the wiki
http://wiki.apache.org/solr/DataImportHandler
or you can share your data-config file and we can take a quick look
here is my data-config. I
the query makes my head spin .
joining on an sql does not enable you to populate multivalued fields .
Otherwise , it is all fine
pk attribute is missing in the entity
On Tue, Oct 14, 2008 at 6:16 PM, Florian Aumeier
[EMAIL PROTECTED] wrote:
Noble Paul നോബിള് नोब्ळ् schrieb:
apparently you
You are missing the pk field (primary key). This is used for delta
imports.
On Tue, Oct 14, 2008 at 6:16 PM, Florian Aumeier
[EMAIL PROTECTED]wrote:
Noble Paul നോബിള് नोब्ळ् schrieb:
apparently you have not specified the deltaQuery attribute in the entity.
Check the delta-import section in
19 matches
Mail list logo