Re: SOLR SpeelChecker and german Umlauts

2009-07-01 Thread Kraus, Ralf | pixelhouse GmbH
Michael Ludwig schrieb: Kraus, Ralf | pixelhouse GmbH schrieb: When I am searching for ONE word with an german umlaut like kräuterkeckse (the right word is kräuterkekse) the spellchecker gives me two corrections : Spellcheck for kr = kren Spellcheck for uterkeksse = butterkekse WHY is SOLR

SOLR SpeelChecker and german Umlauts

2009-06-30 Thread Kraus, Ralf | pixelhouse GmbH
Hello, I really need some help with the SOLR SpeelChecker and german Umlauts. So far I am really satisfied with the JAROWINKLER algorithm. Now my problem :-) When I am searching for ONE word with an german umlaut like kräuterkeckse (the right word is kräuterkekse) the spellchecker gives me

Re: Big Problem with special characters

2009-04-21 Thread Kraus, Ralf | pixelhouse GmbH
Otis Gospodnetic schrieb: Try debugQuery=true and see if the resulting query string makes sense. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch thx for the hint... My problem was the WhitespaceTokenizer :-( After I change back to StandardTokenizer everythign was fine !

Big Problem with special characters

2009-04-20 Thread Kraus, Ralf | pixelhouse GmbH
Hello, first some details about my SOLR installation: schema.xml fieldType name=text_test class=solr.TextField positionIncrementGap=100 analyzer type=index tokenizer class=solr.WhitespaceTokenizerFactory/ filter class=solr.StopFilterFactory ignoreCase=true

Using Lucene MultiFieldQueryParser with SOLR

2009-04-17 Thread Kraus, Ralf | pixelhouse GmbH
Hello, I am searching for a way to use the Lucene MultiFieldQueryParser in my SOLR Installation. Is there a chance to change the solrQueryParser ? In my old Lucene Setting I used to combine many different types of QueryParser in my Querry... Or is there a chance to get

Re: Using Lucene MultiFieldQueryParser with SOLR

2009-04-17 Thread Kraus, Ralf | pixelhouse GmbH
Marc Sturlese schrieb: Think there's no search handler that uses MultiFieldQueryParser in Solr. But check DismaxRequestHandler, probably will do the job. Yo can specify all the fields where you want to search in and it will build the query using boolean queries. It includes also many more

Re: Using Lucene MultiFieldQueryParser with SOLR

2009-04-17 Thread Kraus, Ralf | pixelhouse GmbH
Marc Sturlese schrieb: Think there's no search handler that uses MultiFieldQueryParser in Solr. But check DismaxRequestHandler, probably will do the job. Yo can specify all the fields where you want to search in and it will build the query using boolean queries. It includes also many more

Re: Using Lucene MultiFieldQueryParser with SOLR

2009-04-17 Thread Kraus, Ralf | pixelhouse GmbH
Marc Sturlese schrieb: Well dismax has a q.alt parameter where you can specify a query in lucene sintax. The query must be empty to use q.alt: http://.../select?q=q.alt=phone_number:1234567 This would search in the field phone_number independly of what fields you have configured in teh dismax.

Re: Using Lucene MultiFieldQueryParser with SOLR

2009-04-17 Thread Kraus, Ralf | pixelhouse GmbH
Marc Sturlese schrieb: The only problem I found with q.alt is that it doesn't allow highlighting (or at least it doesn't showed it for me). If you find out how to do it let me know. I use highlighting only with the normal querry ! My q.alt is *.* But its really sad that the dismax dont support

Re: Disable logging in SOLR

2009-04-15 Thread Kraus, Ralf | pixelhouse GmbH
Bill Au schrieb: Have you tried setting logging level to OFF from Solr's admin GUI: http://wiki.apache.org/solr/SolrAdminGUI thx 4 the hint ! But after I restart my tomcat its all reseted to default ? :-( Greets -Ralf-

Re: Disable logging in SOLR

2009-04-15 Thread Kraus, Ralf | pixelhouse GmbH
Mark Miller schrieb: Kraus, Ralf | pixelhouse GmbH wrote: Hi, is there a way to disable all logging output in SOLR ? I mean the output text like : INFO: [core_de] webapp=/solr path=/update params={wt=json} status=0 QTime=3736 greets -Ralf- You probably do not want to totally disable

Disable logging in SOLR

2009-04-14 Thread Kraus, Ralf | pixelhouse GmbH
Hi, is there a way to disable all logging output in SOLR ? I mean the output text like : INFO: [core_de] webapp=/solr path=/update params={wt=json} status=0 QTime=3736 greets -Ralf-

Re: Combination of solr.xml and solrconfig.xml

2009-03-24 Thread Kraus, Ralf | pixelhouse GmbH
Hi, question ;-) !DOCTYPE config SYSTEM http://java.sun.com/dtd/web-app_2_3.dtd; [ !ENTITY default_solrconfig SYSTEM /var/lib/tomcat5.5/webapps/solr/default_solrconfig.xml ] Is there a chance to set the home directory using a variable ? For example an unix enviroment variable ?

BOSTing FIELDS in SCHEMA.XML

2009-03-23 Thread Kraus, Ralf | pixelhouse GmbH
Hi, is there a chance to set boosting directly in my schema.xml ? field name=Name1 type=text indexed=true stored=true multivalued=true omitNorms=false boost=2 / field name=Name2 type=text indexed=true stored=true multivalued=true omitNorms=false boost=1.5f / field name=Name3

Combination of solr.xml and solrconfig.xml

2009-03-19 Thread Kraus, Ralf | pixelhouse GmbH
Hi, I have a little question concerning the combination of solr.xml and solrconfig.xml ! I am running a multicore configuration for doing multiple language index files ... my structure is like \solr (solr.xml) \solr\core_de (solrconfig.xml for german profile) \solr\core_uk (solrconfig.xml

Re: Combination of solr.xml and solrconfig.xml

2009-03-19 Thread Kraus, Ralf | pixelhouse GmbH
Giovanni De Stefano schrieb: Guten Tag Ralf, try to look here: http://wiki.apache.org/solr/CoreAdmin It says: You can also specify properties in solr.xml which can be used in the solrconfig.xml and schema.xml files. I believe this might help. thx !! I tried this : (My solr.xml :) solr

Re: Combination of solr.xml and solrconfig.xml

2009-03-19 Thread Kraus, Ralf | pixelhouse GmbH
Giovanni De Stefano schrieb: Hello Ralf, I believe you want to do something like: solr persistent=true sharedLib=lib cores adminPath=/admin/cores core name=core0 instanceDir=core0 property name=dataDir value=/data/core0 / /core core name=core1 instanceDir=core1 / /cores /solr

Re: Combination of solr.xml and solrconfig.xml

2009-03-19 Thread Kraus, Ralf | pixelhouse GmbH
Giovanni De Stefano schrieb: On the other hand, if your files have 199 lines in *common*, then yes, you could/should move those 199 common lines in solr.xml. YES ! Thats my case But how could I transfer this lines (solrconfig.xml) config dataDir/www/solr//xx/dataDir updateHandler

Re: Combination of solr.xml and solrconfig.xml

2009-03-19 Thread Kraus, Ralf | pixelhouse GmbH
Erik Hatcher schrieb: Unfortunately Solr doesn't offer that kind of reusability (yet). But you could just go old school and use XML entity includes to pull in a fragment of a file, and externalize the common pieces that way. Not as pretty, but oughta work. thx a lot ! This sounds perfect...

SPELLCHECK Problems

2009-02-11 Thread Kraus, Ralf | pixelhouse GmbH
Hi, My SOLRCONFIG.XML requestHandler name=/spellCheckCK class=solr.SearchHandler lst name=defaults /lst arr name=last-components strspellcheck/str /arr /requestHandler searchComponent name=spellcheck class=solr.SpellCheckComponent str

Re: SPELLCHECK Problems

2009-02-11 Thread Kraus, Ralf | pixelhouse GmbH
Grant Ingersoll schrieb: What's your textSpell FieldType look like? Spelling is definitely something that needs tuning, so you might have to play with some of the knobs like accuracy, etc. As for JaroWinkler, and I suppose the default, your field is spell, but based on your configuration, I

Need help with DictionaryCompoundWordTokenFilterFactory

2009-02-06 Thread Kraus, Ralf | pixelhouse GmbH
Hi, Now I ran into another problem by using the solr.DictionaryCompoundWordTokenFilterFactory :-( If I search for the german word Spargelcremesuppe which contains Spargel, Creme and Suppe SOLR will find way to many result. Its because SOLR finds EVERY entry with either one of the three words

Re: Problem with setting solr.solr.home property

2009-02-03 Thread Kraus, Ralf | pixelhouse GmbH
Manupriya schrieb: Hi, Till now I was working with the jetty server bundled with the SOLR distribution. But I want to deploy solr.war to another jetty server. Here I am facing some problem with solr/home. Whenever I start the jetty server, I try to extract the solr.war and edit the web.xml !

Re: SOLR Problem with special chars

2009-01-21 Thread Kraus, Ralf | pixelhouse GmbH
Otis Gospodnetic schrieb: Ralf, Can you paste the part of your schema.xml where you defined the relevant field? Otis Sure ! fieldType name=text_normal class=solr.TextField positionIncrementGap=100 analyzer type=index tokenizer

Re: SOLR Problem with special chars

2009-01-21 Thread Kraus, Ralf | pixelhouse GmbH
Otis Gospodnetic schrieb: now it works : fieldType name=text_new class=solr.TextField positionIncrementGap=100 analyzer type=index tokenizer class=solr.WhitespaceTokenizerFactory/ filter class=solr.StopFilterFactory ignoreCase=true

SOLR Problem with special chars

2009-01-20 Thread Kraus, Ralf | pixelhouse GmbH
Hello, My string in my DB is like Kellogs, Corn- (Flakes) When I search with Kellogs or Corn or Flakes I cant find the entry in my index :-( Is there something I missing ? Greets, -- Ralf Kraus

Re: Need help with SolrIndexSearcher CoreContainer

2008-11-17 Thread Kraus, Ralf | pixelhouse GmbH
Hi, After 5-6 searches I run out of memory :-( Examples: String homeDir = /var/lib/tomcat5.5/webapps/solr; File configFile = new File( homeDir, solr.xml ); CoreContainer myCoreContainer = new CoreContainer( homeDir, configFile ); mySolrCore =

Need help with SolrIndexSearcher CoreContainer

2008-11-12 Thread Kraus, Ralf | pixelhouse GmbH
Hi, I want to use a SolrIndexSearcher for some special searches in my app... I startup my Solr with two cores in it (core_de core_uk). But when I try this then my Solr Server generates a complete new cory instead of using the existing one... After 5-6 searches I run out of memory :-(

Re: Problem with SolrJ and SolrIndexSearcher

2008-11-11 Thread Kraus, Ralf | pixelhouse GmbH
Otis Gospodnetic schrieb: Hi Ralf, Your subject mentions SolrJ, but I don't see any SolrJ code in your email. It looks as if you are messing with Solr's own code. thx for you help... Greets

Problem with SolrJ and SolrIndexSearcher

2008-11-11 Thread Kraus, Ralf | pixelhouse GmbH
Hi, I want to use a SolrIndexSearcher for some special searches in my app... I startup my Solr with two cores in it (core_de core_uk). But when I try this then my Solr Server generates a complete new cory instead of using the existing one... After 5-6 searches I run out of memory :-(

Re: Performanec Lucene / Solr

2008-10-31 Thread Kraus, Ralf | pixelhouse GmbH
Hey, I think it will have the disadvantage of being a lot slower though... How were you handling things with Lucene? You must have used Java then? If you even want to get close to that performance I think you need to use non http embedded solr. I am using this : - I wrote a JAVA JSP file to

Re: Performanec Lucene / Solr

2008-10-31 Thread Kraus, Ralf | pixelhouse GmbH
Hi, Thx a lot for the tip ! But when I try it I got HTTP/1.1 500 null java.lang.NullPointerException at org.apache.solr.common.util.StrUtils.splitSmart(StrUtils.java:37) My Request is : INFO: [core_de] webapp=/solr path=/select/ params={wt=phpsquery=Toolsrecords=30start_record=0}

Re: Performanec Lucene / Solr

2008-10-31 Thread Kraus, Ralf | pixelhouse GmbH
Hi, And rows instead of records, and start instead of start_record. :) Erik You´re my man :-) Greets -Ralf-

Re: Performanec Lucene / Solr

2008-10-31 Thread Kraus, Ralf | pixelhouse GmbH
Hi, queryResponseWriter name=phps class=org.apache.solr.request.PHPSerializedResponseWriter/ Then in PHP, hit Solr directly like this: $response = unserialize(file_get_contents($url)); Where $url is something like http://localhost:8983/solr/select?q=*:* No SOLR is 2times

Performanec Lucene / Solr

2008-10-30 Thread Kraus, Ralf | pixelhouse GmbH
Hello, I am validating Sorl 1.3 now for about 3 weeks... My goal is to migrate from Lucene to Solr because of the much better plugins and search functions. Right now I am stress testing the performence and sending 2500 search request via JSON protocol and from my PHPUnit testcase. All search

Re: Performanec Lucene / Solr

2008-10-30 Thread Kraus, Ralf | pixelhouse GmbH
Mark Miller schrieb: Right now I am stress testing the performence and sending 2500 search request via JSON protocol and from my PHPUnit testcase. All search reuqest are different so caching don´t do it for me. Right now our old Lucene-JSPs are avout 4 times faster than my SOLR Sollution :-(

Re: Performanec Lucene / Solr

2008-10-30 Thread Kraus, Ralf | pixelhouse GmbH
Mark Miller schrieb: Kraus, Ralf | pixelhouse GmbH wrote: Mark Miller schrieb: Right now I am stress testing the performence and sending 2500 search request via JSON protocol and from my PHPUnit testcase. All search reuqest are different so caching don´t do it for me. Right now our old

Re: Performanec Lucene / Solr

2008-10-30 Thread Kraus, Ralf | pixelhouse GmbH
Grant Ingersoll schrieb: Have you gone through http://wiki.apache.org/solr/SolrPerformanceFactors ? Can you explain a little more about your testcase, maybe even share code? I only know a little PHP, but maybe someone else who is better versed might spot something. I just wrote my JSP

Override Similarity

2008-10-28 Thread Kraus, Ralf | pixelhouse GmbH
Hello, is there a chance to override the Similarity in my search ? In fact I want that all result return a 1 (with the idf methode). Greets -Ralf-

Override Similarity

2008-10-28 Thread Kraus, Ralf | pixelhouse GmbH
Hello, is there a chance to override the Similarity in my search ? In fact I want that all result return a 1 (with the idf methode). Greets -Ralf-

Sorting TEXT Field problems :-(

2008-10-28 Thread Kraus, Ralf | pixelhouse GmbH
Hello, Querry: {wt=jsonrows=30json.nl=mapstart=0sort=RezeptName+asc} Result : Doppeldecker Eiersalat Curry - Eiersalat Eiersalat Why is my second Curry... after Doppeldecker ??? RezeptName is a normal text field defined as : fieldType name=text class=solr.TextField

Re: Sorting TEXT Field problems :-(

2008-10-28 Thread Kraus, Ralf | pixelhouse GmbH
Thomas Traeger schrieb: Kraus, Ralf | pixelhouse GmbH schrieb: Hello, Querry: {wt=jsonrows=30json.nl=mapstart=0sort=RezeptName+asc} Result : Doppeldecker Eiersalat Curry - Eiersalat Eiersalat Why is my second Curry... after Doppeldecker ??? RezeptName is a normal text field defined

Re: Need help with DictionaryCompoundWordTokenFilterFactory

2008-10-14 Thread Kraus, Ralf | pixelhouse GmbH
Steven A Rowe schrieb: Oops, variable-name != attribute-name. Thanks Hoss. Steve So dictFile or dictionary ??? Greets -Ralf-

Re: Need help with DictionaryCompoundWordTokenFilterFactory

2008-10-14 Thread Kraus, Ralf | pixelhouse GmbH
Chris Hostetter schrieb: : :dictFile=de_DR.xml : : according to the code the param name is dictionary not dictFile. PS: the dictionary file shouldn't be and XML file, it should look just like a stopwords file (one word per line) -Hoss thx ! It finally runs perfect ! Greets

Re: Need help with DictionaryCompoundWordTokenFilterFactory

2008-10-13 Thread Kraus, Ralf | pixelhouse GmbH
Thx a lot ! I downloaded a dictionary called de_DR.xml and put it into my conf directory... Then I changed my schema.xml to : class=solr.DictionaryCompoundWordTokenFilterFactory dictFile=./conf/de_DR.xml minWordSize=5 minSubwordSize=2 maxSubwordSize=15 onlyLongestMatch=true but solr can´t

Re: Multi-language solr1.3 what would you reckon?

2008-10-13 Thread Kraus, Ralf | pixelhouse GmbH
Hannes Carl Meyer schrieb: Hi, is it really neccessary to put it all into one index? You could also use the Solr MultiCore/MultipleIndexes feature and seperate by language. Is there a good webpage with infos about the multiindex-feature ? I know http://wiki.apache.org/solr/MultipleIndexes

Need help with DictionaryCompoundWordTokenFilterFactory

2008-10-10 Thread Kraus, Ralf | pixelhouse GmbH
Hi, I am trying to solve the typical german Donaudampfschiff- problem by using the DictionaryCompoundWordTokenFilter ... Anyone can show me how to configure my schema.xml to use the DictionaryCompoundWordTokenFilterFactory ??? Greets -Ralf-

Re: Need help with more than just one index

2008-10-09 Thread Kraus, Ralf | pixelhouse GmbH
Hannes Carl Meyer schrieb: Hi Ralf, since Solr 1.3 it is possible to run multiple cores (indexes) inside a single deployment, please check: http://wiki.apache.org/solr/MultipleIndexes it is not even about seperating indexes but also have different configurations, index and query analyzers

Need help with more than just one index

2008-10-09 Thread Kraus, Ralf | pixelhouse GmbH
Hello, I am wondering if there is a chance to use solr with more than just one index ? Is there a chance a could switch to another index if I want to search another context ? for example : searching for books : use index1 (schema1.xml) searching for magazines : use index 2 (schema2.xml)

Re: feeding documents tru API

2008-10-09 Thread Kraus, Ralf | pixelhouse GmbH
Cam Bazz schrieb: Hello, I have been looking at the API documentation but I dont know where to look in order to feed documents tru API without using xml files. any ideas? Look for the SolrIndexWriter class... http://lucene.apache.org/solr/api/org/apache/solr/update/SolrIndexWriter.html

Problems with WordDelimiterFilterFactory

2008-10-08 Thread Kraus, Ralf | pixelhouse GmbH
Hello, I am playing arount with WordDelimiterFilterFactory and run into some problems... When I search with RedElectronicLed I got this entries : Red - Electronic - Led = Perfect ! But I don´t get RedElectronicLed entries in my DB :-( Is there a chance I will get both ? Red - Electronic -