Solr failing on "y" charakter in string?

2009-08-02 Thread gateway0
Hi, I have the following setting: schema.xml: "" 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 me an empty result. When I search for "kun

Re: Solr failing on "y" charakter in string?

2009-08-03 Thread gateway0
reason - at > index time you probably lower-case tokens with LowerCaseFilter(Factory), > and if you search for Harr*, the lower-casing won't happen because the > query string with the wildcard character isn't analyzed. > > Otis > -- > Sematext is hiring --

Re: Solr failing on "y" charakter in string?

2009-08-03 Thread gateway0
Ok still not working with new field "text_two": "text:"Har*" text_two:"Har*"" ==> result 0 Schema Updates: " " This is what you suggested

Re: Solr failing on "y" charakter in string?

2009-08-03 Thread gateway0
ive 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 wrote: > >> >> Ok thanks you´re right. >> >> But the thing is my users will often search for expr

UTF8 Problem with http request?

2009-08-14 Thread gateway0
Hi, First of all I know that there is a utf8 problem with tomcat. So I updated the "server.xml" tomcat file with " " - So now the solr admin console returns an successful result for example: q=für result: " − 0 0 − on 0 für 10 2.2 − " - However if I use a http request through php5 I´l

RE: UTF8 Problem with http request?

2009-08-14 Thread gateway0
> encoding > UTF-8 > > > forceEncoding > true > > > > CharacterEncoding > /* >

RE: UTF8 Problem with http request?

2009-08-14 Thread gateway0
UE))); " Thank you again "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'); > > -Origi

Using constants with DataImportHandler and MySQL ?

2009-04-08 Thread gateway0
Hi, I tried to do the following in my "data-config.xml" file: Projects

Re: Using constants with DataImportHandler and MySQL ?

2009-04-09 Thread gateway0
gt; | 435 | 10 | > +---++ > 10 rows in set (0.00 sec) > > mysql> > > 2009/4/8 Shalin Shekhar Mangar : >> On Wed, Apr 8, 2009 at 10:23 PM, gateway0 wrote: >> >>> >>> The problem as you see is the line: >>> "Proje

Dataimporthandler + MySQL = Datetime offset by 2 hours ?

2009-04-09 Thread gateway0
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: result in solr index: 2009-04-14T09:00:00Z:confused: it says 09:00:00 instead of 11

Use more then one tag with Dataimporthandler ?

2009-04-14 Thread gateway0
Hi, is it possible to use more than one tag within my data-config.xml file? Like: ...entities ...entities ??? kind regards, Sebastian -- View this message in context: http://www.nabble.com/Use-more-then-one-%3Cdocument%3E-tag-with-Dataimporthandler---tp23037189p230

MacOS "Failed to initialize DataSource:db"+ DataimportHandler ???

2009-04-27 Thread gateway0
Hi, I want to transfer my solr project to mac os leopard so I installed xampp for mac and Tomcat 6.0.18. Everything works fine except for the dataimporthandler in solr, I get this error message: "org.apache.solr.handler.dataimport.DataImportHandlerException: Failed to initialize DataSource: mydb

Re: MacOS "Failed to initialize DataSource:db"+ DataimportHandler ???

2009-04-27 Thread gateway0
orName(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 wrote: > >> >> >> Everything works fine except for the

Re: MacOS "Failed to initialize DataSource:db"+ DataimportHandler ???

2009-04-28 Thread gateway0
. drop your driver > jar into ${solr.home}/lib > > On Tue, Apr 28, 2009 at 4:42 AM, gateway0 wrote: >> >> Hi, >> >> sure: >> " >> message Severe errors in solr configuration. Check your log files for >> more >> detailed informatio

Dataimporthandler & Timestamp Error ?

2009-05-07 Thread gateway0
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 com.mysql.jdbc.SQLError.createSQLException(SQLEr

Re: Dataimporthandler & Timestamp Error ?

2009-05-07 Thread gateway0
ot;jdbc:mysql://localhost/test?zeroDateTimeBehavior=convertToNull" > > On Thu, May 7, 2009 at 1:39 PM, gateway0 wrote: >> >> Hi, >> >> when I do a full import I get the following error : >> >> "Caused by: java.sql.SQLException: Canno

Use the same SQL Field in Dataimporthandler twice?

2009-06-06 Thread gateway0
Hi, I tried to do the following: " " So I use the SQL Table Field "id" twice once for "db_id" in my index and for the sql query as "fid=id". That doesn´t work! But when I change the query from "fid=id" to like "fid=otherkey" it does work! Like: " " Is there any oth

Re: Use the same SQL Field in Dataimporthandler twice?

2009-06-08 Thread gateway0
hen I use something other than "id" as the foreign key for the query everything works! like: "${db.tableA.anotherid}" Noble Paul നോബിള്‍ नोब्ळ्-2 wrote: > > what is ${db.tableA.id} ? > > I think there is something extra in that > > can you paste the whole

Re: Use the same SQL Field in Dataimporthandler twice?

2009-06-09 Thread gateway0
ian Noble Paul നോബിള്‍ नोब्ळ्-2 wrote: > > On Tue, Jun 9, 2009 at 12:41 AM, gateway0 wrote: >> >> Thanks for your answer. >> >> "${db.tableA.id}" that specifies the sql query that the Dataimporthandler >> should Use the sql field "id" in tab

Re: Use the same SQL Field in Dataimporthandler twice?

2009-06-09 Thread gateway0
to query against my comment table Noble Paul നോബിള്‍ नोब्ळ्-2 wrote: > > can you avoid "." dots in the entity name and try it out. dots are > special characters and it should have caused some problem > > On Tue, Jun 9, 2009 at 1:37 PM, gateway0 wrote: >> >&

Re: Use the same SQL Field in Dataimporthandler twice?

2009-06-09 Thread gateway0
that suppose to mean? 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

Re: Use the same SQL Field in Dataimporthandler twice?

2009-06-09 Thread gateway0
re? > > > On Tue, Jun 9, 2009 at 2:55 PM, 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 t

Can´t use wildcard "*" on alphanumeric values?

2009-07-07 Thread gateway0
Hi, I indexed my data and defined a defaultsearchfield named "text:" (). 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 wildcard search over that two values the following happens: - query:"

Re: Can´t use wildcard "*" on alphanumeric values?

2009-07-07 Thread gateway0
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 wrote: > >> >> I indexed my data and defined a defaultsearchfield named "text:" (> n

Could not create importer. DataImporter config invalid at... MAC OSX

2009-07-09 Thread gateway0
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 org.apache.solr.core.SolrResourceLoader.inform(So

Re: Could not create importer. DataImporter config invalid at... MAC OSX

2009-07-09 Thread gateway0
ong w/ your data-config.xml you can paste it here > > On Thu, Jul 9, 2009 at 3:14 PM, gateway0 wrote: >> >> Hi, >> >> I wanted to port my windows installation of solr to mac os. But the >> following error occured: >> >

Re: Could not create importer. DataImporter config invalid at... MAC OSX

2009-07-09 Thread gateway0
ble Paul നോബിള്‍ नोब्ळ्-2 wrote: > > Is this the complete stacktrace ? or is there anything else that is > missing? > > On Thu, Jul 9, 2009 at 3:14 PM, gateway0 wrote: >> >> Hi, >> >> I wanted to port my windows installation of solr to mac os. But the >

Re: Could not create importer. DataImporter config invalid at... MAC OSX

2009-07-09 Thread gateway0
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, gateway0 wrote: >> >> Here i

Re: Could not create importer. DataImporter config invalid at... MAC OSX

2009-07-09 Thread gateway0
" are no mysql jars not on xp or mac os. Noble Paul നോബിള്‍ नोब्ळ्-2 wrote: > > the mysql driver . I d not remember the exact name of the driver jar file > > On Thu, Jul 9, 2009 at 4:39 PM, gateway0 wrote: >> >> What driver do you mean exactly (filename & path)