Re: Question about updateRequestProcessorChain

2009-12-16 Thread Shalin Shekhar Mangar
On Thu, Dec 17, 2009 at 3:35 AM, Manepalli, Kalyan < kalyan.manepa...@orbitz.com> wrote: > Hi All, > > I am trying to use updateRequestProcessorChain in Solr1.3. > > I configured the requestProcessor Chain like this: > > > > > > > > > > > > > > > > > And Use it in Req

Re: Request Assistance with DIH, development console

2009-12-16 Thread Shalin Shekhar Mangar
On Thu, Dec 17, 2009 at 1:47 AM, Turner, Robbin J < robbin.j.tur...@boeing.com> wrote: > > My dataconfig.xml is > > > driver="oracle.jdbc.driver.OracleDriver" >url="jdbc.oracle:thin:@xxx-xxx-x:1521:" >username="__xxx" >

Re: parsedquery becomes PhraseQuery

2009-12-16 Thread Raghuveer Kancherla
Its likely that your analyzer has WordDelimiterFilterFactory (look at your schema for the field in question). If a single token is split into more tokens during the analysis phase, solr will do a phrase query instead of a term query. In your case disk/1.0 is being analyzed into disk 1 0 (three tok

Re: solr core size on disk

2009-12-16 Thread Noble Paul നോബിള്‍ नोब्ळ्
look at the index dir and see the size of the files . it is typically in $SOLR_HOME/data/index On Thu, Dec 17, 2009 at 2:56 AM, Matthieu Labour wrote: > Hi > I am new to solr. Here is my question: > How to find out the size of a solr core on disk ? > Thank you > matt > --

Re: Multicore - Post xml to core0, core1 or core2

2009-12-16 Thread Erik Hatcher
Using post.jar to index a CSV file isn't exactly straightforward. But can be done like this: java -Durl=http://localhost:8983/solr/update/csv -Dcommit=no -jar post.jar books.csv followed by: java -Dcommit=yes -jar post.jar You have to be sure to specify the URL that maps to the CSV

Solr 1.4 features not in the book.

2009-12-16 Thread Smiley, David W.
Greetings Solr community. Many of you have the book, "Solr 1.4 Enterprise Search Server" and some may be considering purchasing it. The 3 month lag between the publishing of the book and the release of Solr 1.4 meant that obviously there were some features not covered. And there were features

Re: Commits vs. Adds and solr caches

2009-12-16 Thread Jason Rutherglen
Harish, Added documents are placed into an in memory buffer (see solrconfig.xml -> ramBufferSizeMB) held in Lucene's IndexWriter. When ramBufferSizeMB is reached, it's flushed to disk. The caches are cleared on each commit. If you're doing frequent commits, you'll probably want to lower the cach

Re: Multicore - Post xml to core0, core1 or core2

2009-12-16 Thread Jörg Agatz
Good eavening, I tryed to indexing the Test csv.. i use this: java -Durl=http://localhost:8983/solr/core0/update -jar post.jar books.csv But i become an error. SimplePostTool: WARNING: Make sure your XML documents are encoded in UTF-8, other encodings are not currently supported SimplePostTool:

Commits vs. Adds and solr caches

2009-12-16 Thread smock
Hello, I'm running a 12M document index which I'd like to frequently update. I'm having problems doing so (http://old.nabble.com/NullPointerException-thrown-during-updates-to-index-td26613309.html) and am wondering now if it has to do with the way I'm structuring the updates. I have a few quest

Re: NullPointerException thrown during updates to index

2009-12-16 Thread smock
Just to clarify, the error is being thrown FROM a search, DURING an update. This error is making distributed SOLR close to unusable for me. Any ideas? Does SOLR fail on searches if one node takes too long to respond? hossman wrote: > > : Hi, > : I'm running a distributed solr index (3 nod

parsedquery becomes PhraseQuery

2009-12-16 Thread Jibo John
Hello, I have a question on how solr determines whether the q value needs to be analyzed as a regular query or as a phrase query. Let's say, I have a text'jibojohn info disk/1.0' If I query for 'jibojohn info', I get the results. The query is parsed as: jibojohn info jibojohn info +data

Question about updateRequestProcessorChain

2009-12-16 Thread Manepalli, Kalyan
Hi All, I am trying to use updateRequestProcessorChain in Solr1.3. I configured the requestProcessor Chain like this: And Use it in Requesthandler like this custom The problem I am facing is, even if I use regular requestHandler "

Re: Using solr with the new TokenStream API

2009-12-16 Thread Ahmed El-dawy
I think the problem is that my jar file is added to the class path at run time. This causes Class.forName to be not working correctly. Is there a way to add this jar file to classpath during tomcat startup? On Tue, Dec 15, 2009 at 8:42 PM, Ahmed El-dawy wrote: > Hi, > I'm using the new API prov

MLT calculation

2009-12-16 Thread Mike Anderson
How exactly is MLT calculated? I'm trying to gain an intuition for it by tweaking the parameters MLT.qf, MLT.mintf, and MLT.mindf (mostly the former, changing boosts), but so far it's a bit counter intuitive. How does MLT.boost play in? If anybody could point me to a technical description (equatio

solr core size on disk

2009-12-16 Thread Matthieu Labour
Hi I am new to solr. Here is my question: How to find out the size of a solr core on disk ? Thank you matt

RE: Text formatting lost

2009-12-16 Thread Mike Aymard
I am using the solr admin page. Thanks for your help. I've got it working now! Mike > Date: Wed, 16 Dec 2009 09:08:33 -0800 > From: iori...@yahoo.com > Subject: RE: Text formatting lost > To: solr-user@lucene.apache.org > > > > > > Thanks for the response. I am actually enclosing the text >

RE: Request Assistance with DIH, development console

2009-12-16 Thread Turner, Robbin J
Has there been any reported problems with -(hyphens) or _ (underscore)for the datasource connection and/or user/password information in the dataconfig.xml? I've not been able to find out how to set the webapp property for the user.dir in tomcat. But my output from Catalina.out reports all htat

Re: How to get Solr 1.4 to replicate spellcheck directories as well?

2009-12-16 Thread Noble Paul നോബിള്‍ नोब्ळ्
On Wed, Dec 16, 2009 at 11:04 PM, Rob Casson wrote: > i don't think that's currently supported, but sure others will correct > me if i'm wrong: you are not wrong.. There is an issue open for the same. > >     > http://www.lucidimagination.com/search/document/ac8cf41bdb761069/solr_replication_and_s

Re: How to get Solr 1.4 to replicate spellcheck directories as well?

2009-12-16 Thread Rob Casson
i don't think that's currently supported, but sure others will correct me if i'm wrong: http://www.lucidimagination.com/search/document/ac8cf41bdb761069/solr_replication_and_spellcheck_data cheers, rob On Wed, Dec 16, 2009 at 10:08 AM, michael8 wrote: > > I'm currently using Solr 1.4 with

RE: Text formatting lost

2009-12-16 Thread AHMET ARSLAN
> > Thanks for the response. I am actually enclosing the text > with CDATA. Here's a sample of document that passing into > the update: > > > >   emailtest3 >  

CSV import & date modifying.

2009-12-16 Thread Felix Zimmermann
Hi, when posting a CSV-file via curl to Solr, I´d like to convert a row with the date format „30.12.2009“ (dd.mm.) into the date format accepted by Solr. Is this possible? Thanks for help Felix.

RE: Text formatting lost

2009-12-16 Thread Mike Aymard
Thanks for the response. I am actually enclosing the text with CDATA. Here's a sample of document that passing into the update: emailtest3 TEALEAF PROD Need your Suggestion on how to add a URI in Tealeaf How do I add a URI to tealeaf see details Sharath Pasupunuti 2009-09-2

How to get Solr 1.4 to replicate spellcheck directories as well?

2009-12-16 Thread michael8
I'm currently using Solr 1.4 with its built-in solr.ReplicationHandler enabled in solrconfig.xml for a master and slave as follows: ${enable.master:false} commit startup schema.xml,protwords.txt,spellings.txt,stopwords.txt,synonyms.txt ${enable.slav

Re: facet.field problem in SolrParams to NamedList

2009-12-16 Thread Nestor Oviedo
Hi Hoss I changed my code to use the AppendedSolrParams and it worked perfectly. I'm opening a bug today with my simple test case. Tank you very much for your help Regards Nestor On Tue, Dec 15, 2009 at 6:39 PM, Chris Hostetter wrote: > > : Ej.: "q=something field:value" becomes "q=something

regarding QParserPlugin

2009-12-16 Thread gudumba l
Hello all,   I am trying to use query parser plugin feature of solr. But its really strange that everytime its behaving in a different way. I have decalred my custom query parser in solrconfig.xml as follows.. I have linked it to the default request handler as follows..

RE: Request Assistance with DIH

2009-12-16 Thread Ken Lane (kenlane)
Regarding getting the working directory set, I got the cwd set to mysolr home by using a tomcat startup system property. In windows, there is a UI for Tomcat where you can set these java options: -Dsolr.solr.home=C:\Appsolar -Dsolr.data.dir=C:\Appsolar\data In that UI, there is also a "Working P

Re: SnapPuller executing on master?

2009-12-16 Thread Shalin Shekhar Mangar
On Fri, Dec 4, 2009 at 2:27 AM, Otis Gospodnetic wrote: > Hello, > > If I'm on a master (Solr 1.4), why would I see the following in the logs, > if I'm running the master Solr JVM with "-Denable.master=true": > > SEVERE: Master at: http://solrbox:8080/solr/foocore/replication is not > available.

Re: debugging javascript DIH

2009-12-16 Thread Shalin Shekhar Mangar
On Thu, Dec 3, 2009 at 10:51 PM, Joel Nylund wrote: > is there a way to print to std out or anything from my javascript DIH > transformer? > > I don't think so. As a workaround you can add the data that you want to print to the map and have a LogTransformer print it out. -- Regards, Shalin Shek

Re: What does it mean about this error message???

2009-12-16 Thread Shalin Shekhar Mangar
On Wed, Dec 16, 2009 at 1:29 PM, Ellery Leung wrote: > > there_are_more_terms_than_documents_in_field__but_its_impossible_ > to_sort_on_tokenized_fields > > The index is probably built and run. Using Solr 1.4. > > The error message is quite vague that it seems to talk about different > thing.. >

DIH and qty of fields with Schema

2009-12-16 Thread Lee Smith
Not sure how this will work and if its a good idea either. On my DIH handler I have 5 entitys and currently just selecting the fields we want from the 5 tables but we really want to open this up by using select * from all the fields. Is this a bad idea by having most of the schema as dynami

Re: Solr Queries

2009-12-16 Thread AHMET ARSLAN
> Hi, >      Suppose i have a content field of > type text. > an example on content field is as shown below: > "After frustrated waiting period to get my credit card from > the ICICI Bank, > today I decided to write them a online petition stating my > problem... Below > is the unedited version of l

Solr Queries

2009-12-16 Thread Rakhi Khatwani
Hi, Suppose i have a content field of type text. an example on content field is as shown below: "After frustrated waiting period to get my credit card from the ICICI Bank, today I decided to write them a online petition stating my problem... Below is the unedited version of letter I sent to IC

RE: Reverse sort facet query

2009-12-16 Thread Peter 4U
Hello, Thanks very much for your answer. I'll have a look at SimpleFacets.java to look at patching it. I should think the sorting bit will be relatively straightforward. The tricky bit is how to submit the request via the query interface - there's only a boolean for facet sorting - woul

Re: Text formatting lost

2009-12-16 Thread Erik Hatcher
Maybe the XMLification of your text is adjusting the whitespace? Try enclosing your text with CDATA first. Erik On Dec 16, 2009, at 1:34 AM, Mike Aymard wrote: Hi, I'm a newbie and have a question about the text that is stored and then returned from a query. The field in questi

Re: synonyms

2009-12-16 Thread Patrick Jungermann
Hello Peter, by using the existing SynonymFilterFactory, it is not possible to use a database instead of a text file. This file will be read at startup and the internal synonym catalogue (SynonymMap) will be created. You could create your own filter factory that could create the needed synonym ca

What does it mean about this error message???

2009-12-16 Thread Ellery Leung
there_are_more_terms_than_documents_in_field__but_its_impossible_ to_sort_on_tokenized_fields The index is probably built and run. Using Solr 1.4. The error message is quite vague that it seems to talk about different thing.. Can somebody please explain what it is? Thank you in adv