Hi,
First of all I know that there is a utf8 problem with tomcat. So I updated
the server.xml tomcat file with
Connector port=8080 protocol=HTTP/1.1
connectionTimeout=2
redirectPort=8443
URIEncoding=UTF-8 /
- So now the solr admin console
filter-mapping
filter-nameCharacterEncoding/filter-name
url-pattern/*/url-pattern
/filter-mapping
Ankit
From: gateway0 [reiterwo...@yahoo.de]
Sent: Friday, August 14, 2009 3:32 PM
To: solr-user
ANKITBHATNAGAR
kind regards, Sebastian
ANKITBHATNAGAR wrote:
I guess in the header you could try setting the Charest something like
this
header('Content-Type: text/plain; charset=ISO-8859-1');
-Original Message-
From: gateway0 [mailto:reiterwo...@yahoo.de]
Sent: Friday, August 14
with the wildcard character isn't analyzed.
Otis
--
Sematext is hiring -- http://sematext.com/about/jobs.html?mls
Lucene, Solr, Nutch, Katta, Hadoop, HBase, UIMA, NLP, NER, IR
- Original Message
From: gateway0 reiterwo...@yahoo.de
To: solr-user@lucene.apache.org
Sent: Sunday
=true/
copyField source=text dest=text_two/
This is what you suggested, right?
kind regards, S.
gateway0 wrote:
Hi,
I have the following setting:
schema.xml:
field name=kunde type=text indexed=true stored=true /
the text field-type was updated with the preserveOriginal=1 option
desired results.
You can use the copyField directive in your schema.xml for copying data
from your original field into the new field.
Cheers
Avlesh
On Mon, Aug 3, 2009 at 4:51 PM, gateway0 reiterwo...@yahoo.de wrote:
Ok thanks you´re right.
But the thing is my users will often search
Hi,
I have the following setting:
schema.xml:
field name=kunde type=text indexed=true stored=true /
the text field-type was updated with the preserveOriginal=1 option in
the schema
I have the following string indexd in the field kunde
Harry Heim KG
Now when I search for kunde:harry* it gives
Hi,
I wanted to port my windows installation of solr to mac os. But the
following error occured:
Could not create importer. DataImporter config invalid at
org.apache.solr.handler.dataimport.DataImportHandler.inform(DataImportHandler.java:114)
at
Here is my data-config.xml:
?xml version=1.0?
dataConfig
dataSource type=JdbcDataSource name=mydatabase
driver=com.mysql.jdbc.Driver
url=jdbc:mysql://localhost:3306/mydatabase?zeroDateTimeBehavior=convertToNull
user=root password=/
document
entity name=mydatabase_new_project
Here is the complete error message:
type Status report
message Severe errors in solr configuration. Check your log files for more
detailed information on what may be wrong. If you want solr to continue
after configuration errors, change:
abortOnConfigurationErrorfalse/abortOnConfigurationError
What driver do you mean exactly (filename path) so I can compare my
installation on xp and mac os?
Noble Paul നോബിള് नोब्ळ्-2 wrote:
so it says the driver is not present in the classpath.
On Thu, Jul 9, 2009 at 4:11 PM, gateway0reiterwo...@yahoo.de wrote:
Here is the complete error
Is it maybe the installation paths.
On XP I used:
- xampp (G:\xampp)
- installed tomcat plugin for xampp (G:\xampp\tomcat)
- solr incl. data dir (G:\solr)
On Mac I used:
- xampp for mac (path: /Applications/XAMPP/...)
- tomcat 6.0.20 (path: /Applications/tomcat 6.0.20/...)
- solr incl. data dir
Hi,
I indexed my data and defined a defaultsearchfield named text: (field
name=text type=text indexed=true stored=false multiValued=true/).
I copied all my other field values into that field. Now my problem:
Lets say I have 2 values indexed
1.value ABCD
2.value ABCD3456
Now when I do a
Thank you, that was it.
Why is the preserveOriginal=1 option nowhere documented?
Shalin Shekhar Mangar wrote:
On Tue, Jul 7, 2009 at 2:10 PM, gateway0 reiterwo...@yahoo.de wrote:
I indexed my data and defined a defaultsearchfield named text: (field
name=text type=text indexed=true
Ok here it goes:
?xml version=1.0?
dataConfig
dataSource type=JdbcDataSource name=dbA
driver=com.mysql.jdbc.Driver
url=jdbc:mysql://localhost:3306/dbA?zeroDateTimeBehavior=convertToNull
user=root password=/
document
entity name=dbA.project dataSource=dbA
transformer=TemplateTransformer
No I changed the entity name to dbA:project but still the same problem.
Interesting sidenote If I use my Data-Config as posted (with the id field
in the comment section) none of the other entities works anymore like for
example:
entity name=user dataSource=dbA query=select username from
?
gateway0 wrote:
No I changed the entity name to dbA:project but still the same problem.
Interesting sidenote If I use my Data-Config as posted (with the id
field in the comment section) none of the other entities works anymore
like for example:
entity name=user dataSource=dbA query=select
Noticed this warning in the log file:
Jun 9, 2009 2:53:35 PM
org.apache.solr.handler.dataimport.TemplateTransformer transformRow
WARNING: Unable to resolve variable: dbA.project.id while parsing
expression: ${dbA.project.dbA.project},id:${dbA.project.id}
Ok? Whats that suppose to mean?
And
Thanks for your answer.
${db.tableA.id} that specifies the sql query that the Dataimporthandler
should Use the sql field id in table tableA located in Database db.
like in the example from the Solr Wiki:
entity name=item_category query=select CATEGORY_ID from item_category
where
Hi,
I tried to do the following:
field column=id name=db_id/
entity name=comment dataSource=db query=select com_text from comment
where ftype=1 and fid='${db.tableA.id}'
field column=com_text name=comment/
/entity
So I use the SQL Table Field id twice once for db_id in my index and
Hi,
when I do a full import I get the following error :
Caused by: java.sql.SQLException: Cannot convert value '-00-00
00:00:00' from column 10 to TIMESTAMP.
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)
at
=convertToNull
On Thu, May 7, 2009 at 1:39 PM, gateway0 reiterwo...@yahoo.de wrote:
Hi,
when I do a full import I get the following error :
Caused by: java.sql.SQLException: Cannot convert value '-00-00
00:00:00' from column 10 to TIMESTAMP
Noble Paul നോബിള് नोब्ळ् wrote:
apparently you do not have the driver in the path. drop your driver
jar into ${solr.home}/lib
On Tue, Apr 28, 2009 at 4:42 AM, gateway0 reiterwo...@yahoo.de wrote:
Hi,
sure:
message Severe errors in solr configuration. Check your log files for
more
) at
java.lang.Class.forName(Class.java:242) at
org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:257)
... 39 more
Shalin Shekhar Mangar wrote:
On Tue, Apr 28, 2009 at 1:18 AM, gateway0 reiterwo...@yahoo.de wrote:
Everything works fine except for the dataimporthandler in solr, I
Hi,
is it possible to use more than one document tag within my data-config.xml
file?
Like:
dataConfig
dataSource type=JdbcDataSource name=abc driver=com.mysql.jdbc.Driver
url=jdbc:mysql://localhost:3306/my_zend_appz user=root password=/
document name=first
...entities
/document
|
+---++
10 rows in set (0.00 sec)
mysql
2009/4/8 Shalin Shekhar Mangar shalinman...@gmail.com:
On Wed, Apr 8, 2009 at 10:23 PM, gateway0 reiterwo...@yahoo.de wrote:
The problem as you see is the line:
field name=definitionProjects/field
I want to set a constant value for every
Hi,
im fetching entries from my mysql database and index them with the
Dataimporthandler:
MySQL Table entry: (for example)
pr_timedate : 2009-04-14 11:00:00
entry in data-config.xml to index the mysql field:
field column=pr_timedate name=completion
dateTimeFormat=-MM-dd'T'hh:mm:ss'Z' /
Hi,
I tried to do the following in my data-config.xml file:
dataConfig
dataSource type=JdbcDataSource driver=com.mysql.jdbc.Driver
url=jdbc:mysql://localhost:3306/my_zend_appz user=root password=/
document
entity name=ci_project query=select pr_id, pr_name, pr_comment
from
28 matches
Mail list logo