RE: Severe errors in solr configuration

2009-02-05 Thread Anto Binish Kaspar
No I dint solve my problem. Please help me out :) - Anto Binish Kaspar -Original Message- From: Olivier Dobberkau [mailto:olivier.dobber...@dkd.de] Sent: Wednesday, February 04, 2009 11:35 PM To: solr-user@lucene.apache.org Subject: Re: Severe errors in solr configuration Am

Re: Differences in output of spell checkers

2009-02-05 Thread Marcus Stratmann
Hello, Are you sending in the same query to both? Frequency and word only get printed when extendedResults == true. correctlySpelled only gets printed when there is Index frequency information. For the FileBasedSpellChecker, there is no Frequency information, so it isn't returned. Yes,

Creating a new field type.

2009-02-05 Thread Tushar_Gandhi
Hi, Is it possible to create a new field type in solr? If yes, can anyone tell me how to do that? I tried with this:- fieldType name=user_name class=solr.TextField positionIncrementGap=100 analyzer type=index tokenizer class=solr.WhitespaceTokenizerFactory/ !-- in this

RE: Severe errors in solr configuration

2009-02-05 Thread Anto Binish Kaspar
Hi Olivier, Do you have any guess what is the issue? Its talking something about the security 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:

Re: Severe errors in solr configuration

2009-02-05 Thread Olivier Dobberkau
Am 05.02.2009 um 12:07 schrieb Anto Binish Kaspar: Do I need to give some permissions to the folder? i would guess so. Olivier -- Olivier Dobberkau Je TYPO3, desto d.k.d d.k.d Internet Service GmbH Kaiserstr. 79 D 60329 Frankfurt/Main Registergericht: Amtsgericht Frankfurt am Main

Re: Maximum Term Frequency and Minimum Document Length

2009-02-05 Thread Geir Henning Pettersen
Hi, We have used some time on a similar problem. I am pretty sure that setting a custom similarity implementation is the best way to do it in solr too. We ended up by solving our problem outside solr, but it probably would have been better to set the similarity like you are describing here. As

RE: Severe errors in solr configuration

2009-02-05 Thread Anto Binish Kaspar
One thing I dint understand, why the application is trying to read the solr.xml from /usr/local/solr/solr-1.3/solr/solr.xml ? I tried the folder permission of tomcat6:tomcat6 and root:root, both doesn't fix the issue. - Anto Binish Kaspar -Original Message- From: Olivier Dobberkau

Re: Maximum Term Frequency and Minimum Document Length

2009-02-05 Thread Grant Ingersoll
In schema.xml, at the very bottom, you should see: !-- similarity class=com.example.solr.CustomSimilarityFactory str name=paramkeyparam value/str /similarity -- I believe creating the Factory wrapper is pretty simple. See http://wiki.apache.org/solr/SolrPlugins On Feb 4, 2009, at

Re: commit very long ?? solr

2009-02-05 Thread Shalin Shekhar Mangar
12275 documents in 422 seconds = 29 docs/second. How fast do you want it to complete? How much time do the queries take to create a document? We don't know the size of the documents? On Thu, Feb 5, 2009 at 4:11 PM, sunnyfr johanna...@gmail.com wrote: Hi, Sorry but I don't know where is the

Re: Multiple uniqueKey problems

2009-02-05 Thread Shalin Shekhar Mangar
On Thu, Feb 5, 2009 at 12:23 AM, Bruno Mateus bruno.a.mat...@gmail.comwrote: Hello, I'm facing some problems in generating a compound unique key. I'm indexing some database tables not related with each other. In my data-config.xml I have the following dataConfig document

Re: Creating a new field type.

2009-02-05 Thread Erik Hatcher
On Feb 5, 2009, at 4:45 AM, Tushar_Gandhi wrote: Hi, Is it possible to create a new field type in solr? Yes, and what you tried below looks right. Are you getting any errors at startup with that config? If so, what are they? Erik If yes, can anyone tell me how to do that?

commit very long ?? solr

2009-02-05 Thread sunnyfr
Hi, Sorry but I don't know where is the problem ?? Don't you think it's a bit long ??? 2009/02/05 11:30:01 started by root 2009/02/05 11:30:01 command: /data/solr/book/bin/commit 2009/02/05 11:37:03 ended (elapsed time: 422 sec) str name=statusidle/str str name=importResponse/ − lst

Re: commit very long ?? solr

2009-02-05 Thread sunnyfr
Yes the average is 12 docs seconde updated. I've 8,5M documents and I try to update every 5mn so I guess I've no choice with 8G of ram to have almost null warmup and cache. My data folder is about 5.8G. What would you reckon ? I actually reduce warmup and cache, it works fine now, I will see

Re: Differences in output of spell checkers

2009-02-05 Thread Grant Ingersoll
I added some docs at: http://wiki.apache.org/solr/SpellCheckComponent and http://wiki.apache.org/solr/FileBasedSpellChecker More inline. On Feb 5, 2009, at 4:38 AM, Marcus Stratmann wrote: Hello, Are you sending in the same query to both? Frequency and word only get printed when

Re: commit very long ?? solr

2009-02-05 Thread Gert Brinkmann
sunnyfr wrote: Yes the average is 12 docs seconde updated. In our case with indexing normal web-pages on a normal workstation we have about 10 docs per second (updating + committing). This feels quite long. But if this is normal... ok. I actually reduce warmup and cache, it works fine now, I

Re: commit very long ?? solr

2009-02-05 Thread Shalin Shekhar Mangar
On Thu, Feb 5, 2009 at 7:07 PM, Gert Brinkmann g...@netcologne.de wrote: sunnyfr wrote: Yes the average is 12 docs seconde updated. In our case with indexing normal web-pages on a normal workstation we have about 10 docs per second (updating + committing). This feels quite long. But if

RE: Severe errors in solr configuration

2009-02-05 Thread Anto Binish Kaspar
Finally I make it work on my server :) While installing the ubuntu server, I choose tomcat to install by the ubuntu itself. So after installing the server I noticed the there are two folder on the system /var/lib/tomcat6/ and /usr/share/tomcate6. The /var/lib/tomcat6/ folder has the

RE: Severe errors in solr configuration

2009-02-05 Thread Anto Binish Kaspar
Hi David I found a solution for your problem. I have explained it here http://www.nabble.com/RE%3A-Severe-errors-in-solr-configuration-p21853756.html . Hope it will help you. Regards Anto Binish Kaspar, Acting Team Lead, E.C Software. -Original Message- From: David Trainor

Re: Multiple uniqueKey problems

2009-02-05 Thread Bruno Mateus
Simple :) thks. On Thu, Feb 5, 2009 at 12:13 PM, Shalin Shekhar Mangar shalinman...@gmail.com wrote: On Thu, Feb 5, 2009 at 12:23 AM, Bruno Mateus bruno.a.mat...@gmail.comwrote: Hello, I'm facing some problems in generating a compound unique key. I'm indexing some database tables not

several snapshot ...

2009-02-05 Thread sunnyfr
Hi I would like to get how is a snapshot really. It's obviously a hard link to the files. But it just contain the last update ?? My problem is ... Ive cronjob to commit and auto start snapshooter every 5mn, which works properly. And on my slaves I've cronjob every 5minute to snapshoot. But I

Re: exceeded limit of maxWarmingSearchers

2009-02-05 Thread Jon Drukman
Otis Gospodnetic wrote: Jon, If you can, don't commit on every update and that should help or fully solve your problem. is there any sort of heuristic or formula i can apply that can tell me when to commit? put it in a cron job and fire it once per hour? there are certain updates that

Re: Severe errors in solr configuration

2009-02-05 Thread David Trainor
Thanks Anto! That indeed solves the problem. Best regards, Dave. On Thu, Feb 5, 2009 at 10:40 AM, Anto Binish Kaspar antobin...@ec.iswrote: Hi David I found a solution for your problem. I have explained it here

Malformed Stats Page error

2009-02-05 Thread Jeff Newburn
I am getting the following on the stats page. XML Parsing Error: not well-formed Location: http://solr2.zappos.net:8080/solr/zeta-main/admin/stats.jsp Line Number 1327, Column 48:stat name=item_attrFacet_Size__Shape ---^ Not sure what the deal

Re: Malformed Stats Page error

2009-02-05 Thread Erik Hatcher
On Feb 5, 2009, at 1:44 PM, Jeff Newburn wrote: I am getting the following on the stats page. XML Parsing Error: not well-formed Location: http://solr2.zappos.net:8080/solr/zeta-main/admin/stats.jsp Line Number 1327, Column 48:stat name=item_attrFacet_Size__Shape

Re: Distributed Search Question

2009-02-05 Thread Yonik Seeley
On Thu, Feb 5, 2009 at 2:02 PM, oleg_gnatovskiy oleg_gnatovs...@citysearch.com wrote: Hello all. I am using distributed search over three servers, and found that a shard query to one of the boxes sometimes results in two hits to each of the other boxes. What is the purpose for having 2 hits? Do

Re: Malformed Stats Page error

2009-02-05 Thread Erik Hatcher
Upon further investigation, these must be coming from the stats of FastLRUCache. Besides the need to XML escape in stats.jsp, you could turn off showing these items by setting showItems to 0 in solrconfig.xml. You must have it set to something greater than 0, right? Is that a recent

Re: Malformed Stats Page error

2009-02-05 Thread Jeff Newburn
Unfortunately, I don't have any reference to showItems at all in the solrconfig.xml. Below is the fastLRU config. Let me know if something else is wrong. filterCache class=solr.FastLRUCache size=2 initialSize=2

Re: Spell checking not returning full terms

2009-02-05 Thread Grant Ingersoll
On Feb 4, 2009, at 7:54 PM, Rupert Fiasco wrote: Awesome! After reading up on the links you sent me I got it all working. Thanks! FYI - I did previously come across one of the links you sent over: http://wiki.apache.org/solr/SpellCheckerRequestHandler But what threw me off is that when I

XML response format for fields

2009-02-05 Thread Hazer, Bart
I'm wondering why the format for fields in the XML response is like this: str name=titleTitle/str Instead of this: title type=strTitle/type Is this just to allow validation of the xml? In our system, it would be much easier to use the output in the 2nd format. Is there an

Re: Maximum Term Frequency and Minimum Document Length

2009-02-05 Thread Jonah Schwartz
That seems to work. Thanks! -Jonah On Thu, Feb 5, 2009 at 4:08 AM, Grant Ingersoll gsing...@apache.org wrote: In schema.xml, at the very bottom, you should see: !-- similarity class=com.example.solr.CustomSimilarityFactory str name=paramkeyparam value/str /similarity -- I believe

Re: XML response format for fields

2009-02-05 Thread Shalin Shekhar Mangar
On Fri, Feb 6, 2009 at 1:23 AM, Hazer, Bart bart.ha...@cbs.com wrote: I'm wondering why the format for fields in the XML response is like this: str name=titleTitle/str If the node names are fixed, it is much easier to write a parser. Otherwise, something like Solrj would not be possible

Re: Malformed Stats Page error

2009-02-05 Thread Jeff Newburn
Let me know if there is any additional information I can provide to you. I even added showItems=0 to the FastLRU to no avail. It still shows them and eventually breaks. On 2/5/09 1:32 PM, Erik Hatcher e...@ehatchersolutions.com wrote: I just committed a fix (SOLR-1008) to stats.jsp to escape

1.4 Stable

2009-02-05 Thread Jeff Newburn
I know this question was asked a while back but is there a timeframe for when solr 1.4 will be put into the stable release category? -Jeff

DataImportHandler (DIH) and Solr 1.2

2009-02-05 Thread Amit Nithian
Few questions regarding the DataImportHandler: 1) My company is currently using Solr 1.2 and upgrading to 1.3 isn't in the immediate near term horizon, so I was wondering how difficult would it be to use the DIH and SolrJ from 1.3 to post documents to a Solr 1.2 server? We currently have a lot of

Re: DataImportHandler (DIH) and Solr 1.2

2009-02-05 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Fri, Feb 6, 2009 at 11:12 AM, Amit Nithian anith...@gmail.com wrote: Few questions regarding the DataImportHandler: 1) My company is currently using Solr 1.2 and upgrading to 1.3 isn't in the immediate near term horizon, so I was wondering how difficult would it be to use the DIH and SolrJ

wildcard search issue

2009-02-05 Thread mahendra mahendra
Hi,   The case sensitive wild-card search is not working for TextField type. I have tried searching for UserName:cust*, it gave the results, but UserName:Cust* didn't give any results. How can I make it work.. I have defined my TextField in following way.    fieldtype name=textTight

RE: wildcard search issue

2009-02-05 Thread Jana, Kumar Raja
Hi Mahendra, Wildcard searches are case-sensitive in Solr. I faced the same issue and handled converting the query string to lower case in my code itself. The filters and analyzers are not applicable for wildcard queries. FYI You will also face problem when you use keywords/Operators in your