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 q

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.              

Re: DataImportHandler (DIH) and Solr 1.2

2009-02-05 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Fri, Feb 6, 2009 at 11:12 AM, Amit Nithian 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 from 1.3 to pos

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 c

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

Re: New wiki pages

2009-02-05 Thread Yonik Seeley
Can you clarify the following in SchemaDesign? "If you want to have any phrase search work as well as individual words, you need to have two fields. Both should be processed similarly, but the phrase search field should not use stemming or stopwords." -Yonik

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" wrote: > I just committed a fix (SOLR-1008) to stats.jsp to escape names of > items. T

Re: Malformed Stats Page error

2009-02-05 Thread Erik Hatcher
I just committed a fix (SOLR-1008) to stats.jsp to escape names of items. This should fix your issue, but I'm not quite clear on why you're getting item_* output without showItems set. I must be missing a path that could make that happen in the code. I left SOLR-1008 open for a bit in ca

Re: XML response format for fields

2009-02-05 Thread Shalin Shekhar Mangar
On Fri, Feb 6, 2009 at 1:23 AM, Hazer, Bart wrote: > I'm wondering why the format for fields in the XML response is like this: > > Title > If the node names are fixed, it is much easier to write a parser. Otherwise, something like Solrj would not be possible because everybody has different field

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 wrote: > In schema.xml, at the very bottom, you should see: > > > > I believe creating the Factory wrapper is pretty simple. See > http://wiki.apache.org/solr/SolrPlugins > > > On Feb 4, 2009, at 7:29 PM, Jonah

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: Title Instead of this: Title 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 existing response writer that does this? O

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 s

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. On 2/5/09 11:31 AM, "Erik Hatcher" wrote: > Upon further investigation, these must be comi

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 chan

Re: Distributed Search Question

2009-02-05 Thread Yonik Seeley
On Thu, Feb 5, 2009 at 2:02 PM, oleg_gnatovskiy 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 we need both? The first hi

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:name="item_attrFacet_Size_&_Shape" -

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: ---^ Not sure what the deal is since it has been running fine for

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 wrote: > 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 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 are

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 d

Re: Multiple uniqueKey problems

2009-02-05 Thread Bruno Mateus
Simple :) thks. On Thu, Feb 5, 2009 at 12:13 PM, Shalin Shekhar Mangar wrote: > On Thu, Feb 5, 2009 at 12:23 AM, Bruno Mateus wrote: > >> 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-conf

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 [mailto:tr

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 following

Re: commit very long ?? solr

2009-02-05 Thread Shalin Shekhar Mangar
On Thu, Feb 5, 2009 at 7:07 PM, Gert Brinkmann 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 this is normal.

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: 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 extended

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: Multiple uniqueKey problems

2009-02-05 Thread Shalin Shekhar Mangar
On Thu, Feb 5, 2009 at 12:23 AM, Bruno Mateus wrote: > 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 > > > > > > >

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 wrote: > > Hi, > > Sorry but I don't know where is the problem ?? > Don'

Re: Maximum Term Frequency and Minimum Document Length

2009-02-05 Thread Grant Ingersoll
In schema.xml, at the very bottom, you should see: I believe creating the Factory wrapper is pretty simple. See http://wiki.apache.org/solr/SolrPlugins On Feb 4, 2009, at 7:29 PM, Jonah Schwartz wrote: We want to configure solr so that fields are indexed with a maximum term frequency an

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 [ma

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 fa

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 Regist

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: false in null --

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) idle − 85926 43347 0 2009-02-05 11:28:19 2009-02-05 11:28:19 2

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?

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:- Is it right? Thanks, Tushar -- View t

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, I

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 04.02.200