SolrJ API and XMLResponseParser

2009-02-12 Thread Amit Nithian
I am using SolrJ from trunk and according to http://wiki.apache.org/solr/Solrj you should be able to set the response parser in the SolrServer interface layer; however, I am unable to do so and I need the XML response support for querying and adding documents to a Solr 1.2 instance. Also, I have ch

RE: Where is Solr indexed file stored?

2009-02-12 Thread Lau, Erwin
Found it. I need to remove ${solr.data.dir:./solr/data} From my solrconfig.xml Otherwise it keep pointing to C:\WINDOWS\system32\solr Instead of the folder I specified via solr.solr.home R, Erwin -Original Message- From: Lau, Erwin Sent: Friday,13 February 2009 5:45 PM To: solr-u

RE: Where is Solr indexed file stored?

2009-02-12 Thread Lau, Erwin
Ah I found it. For some reason my index file is written to C:\WINDOWS\system32\solr I have set the solr.solr.home value via the registry. Is there somewhere else that I need to set to get it written to c:\solr R, Erwin -Original Message- From: Shalin Shekhar Mangar [mailto:shalinma

Re: Where is Solr indexed file stored?

2009-02-12 Thread Shalin Shekhar Mangar
On Fri, Feb 13, 2009 at 11:59 AM, Lau, Erwin wrote: > > I start my solr jvm through tomcat and I have set registry with the > following value > > Tomcatsolr--parameters--options: > > -Dsolr.solr.home=c:\solr > > This is my datadir set up on solrconfig.xml > > ${solr.data.dir:./solr/data} > > And

RE: Where is Solr indexed file stored?

2009-02-12 Thread Lau, Erwin
Hi, First of all thanks for your reply Otis I start my solr jvm through tomcat and I have set registry with the following value Tomcatsolr--parameters--options: -Dsolr.solr.home=c:\solr This is my datadir set up on solrconfig.xml ${solr.data.dir:./solr/data} And I have check the C:\solr\d

Re: Where is Solr indexed file stored?

2009-02-12 Thread Otis Gospodnetic
Hi, data/index is correct, but perhaps you pointed your Solr to some other directory via solrconfig.xml dataDir setting? Or maybe you didn't specify solr.solr.home when starting the JVM, so you ended up with a solr directory in whichever directory you started java from? Hm, do a search (ha!)

Where is Solr indexed file stored?

2009-02-12 Thread Lau, Erwin
Hi All, Where is the solr indexed stored on the machine? I have checked SOLR_HOME folder as well as solr tomcat container and it is not there. When I look at the timestamp of the file located in solr_home\data\index all the files are quite old. Is there a way to copy this file across somewh

Re: Is this DIH entity forEach expression OK?

2009-02-12 Thread Noble Paul നോബിള്‍ नोब्ळ्
forEach="/record | /record/mediaBlock" is likely to have problem . This causes inconsistencies anyway because this is supposed to give callbacks with same data. you can definitely write a transformer which gives out multiple rows if a record contains /record/mediaBlock. the return value of a tran

Re: Issuing just a spell check query

2009-02-12 Thread Chris Hostetter
: > A roundabout way of asking: how can I fire off *just* a spell check query? : I don't think it is possible with SpellCheckComponent. But note that only maybe i'm missing something, but why can't you just say... spellcheck ...i havne't tried it, but there's no reason i

Re: debugQuery missing boost

2009-02-12 Thread Chris Hostetter
: which shows that the 5.0 boost in dateCreatedYear:2009^5.0 is being : applied however, the 2.0 boost is missing in "(bodytext:iphone OR : bodytext:firmware)^2.0" How is the 2.0 boost being applied to the : score? if i remember correctly, in boolean queries the boost is pushed down to the cla

Re: Is there a way to query for this value?

2009-02-12 Thread Chris Hostetter
: It still seems to get confused by & characters and turning them into %26 : does not work from the solr-ruby connection. ..but it works for most of the : DOI's that I have tried so still a big improvement - thanks. my suggestion would be to start by testing your queries in a browser so you can

Re: spellcheck.onlyMorePopular

2009-02-12 Thread Grant Ingersoll
I believe the reason is b/c when onlyMP is false, if the word itself is already in the index, it short circuits out. When onlyMP is true, it checks to see if there are more frequently occurring variations. However, I don't have the code in front of me at the moment, so I can't verify. -G

Re: Please Help debugging java.lang.NumberFormatException: empty String

2009-02-12 Thread Joshua Kaiser
I'm on version 1.3.0 My schema has the float and sfloat types defined, but doesn't have any float fields at all. I've rolled through my list of fields with required="true" and verified that none of them are empty. Additionally, there are no empty values being passed in the doc wrapper.

Re: Please Help debugging java.lang.NumberFormatException: empty String

2009-02-12 Thread Shalin Shekhar Mangar
On Fri, Feb 13, 2009 at 12:04 AM, Joshua Kaiser wrote: > I'm having issues debugging an error on the Solr server when I attempt to > add a document. My feeling is that it's ultimately an issue with my > document not obeying my schema definition, but I have no clue how to track > down the offendi

Fwd: Please Help debugging java.lang.NumberFormatException: empty String

2009-02-12 Thread Joshua Kaiser
Hi, I'm very new to Solr. I've tried searching archives for this error, but haven't found it. If this is something that may be found in a faq or existing forum, please feel free to point me there. I'm having issues debugging an error on the Solr server when I attempt to add a document. My feel

Re: Is dismax mm applied before filtering stopwords in query?

2009-02-12 Thread Steven Hentschel
Thanks, I'm inclined not to even bother with stopwords as in my case I've got a fairly small dataset and leaving them in doesn't seem to have a noticeable effect on performance. On Thursday 12 February 2009 15:41:05 Jeff Newburn wrote: > Unfortunately, the stopword filter acts funny (depending o

Re: commit very long ?? solr

2009-02-12 Thread sunnyfr
Batch committing is always a better option than committing for each document. An optimize automatically commits. Note that you may not need to optimize very frequently. For a lot cases, optimizing once per day works fine. Yes but commit once per day won"t show updated datas until the next day, I

solr - failed to connect to Solr server at

2009-02-12 Thread sunnyfr
Hi, Do you have an idea where it could come from ?? the process seems to stay stuck ??? 2009/02/12 16:35:01 started by root 2009/02/12 16:35:01 command: /data/solr/book/bin/commit 2009/02/12 16:35:02 ended (elapsed time: 1 sec) 2009/02/12 16:40:01 started by root 2009/02/12 16:40:01 command: /

Re: Is dismax mm applied before filtering stopwords in query?

2009-02-12 Thread Jeff Newburn
Unfortunately, the stopword filter acts funny (depending on who you ask) in dismax. The short version is that the stopwords filter has to be on all fields being queried on for minimum matches to work. We have the same issue with one of our brands. We require all word matching so "The North Face"

Re: solr 1.4 - boost query from where it finds the word(s)

2009-02-12 Thread sunnyfr
Hi Grant, Thanks for your quick answer. So there is not a real quick way to increase one field in particular according to another one if the text is find there, otherwise how can I do that in two queries ? thanks a lot, Grant Ingersoll-6 wrote: > > Hi Sunny, > > As with any relevance issue

Re: solr 1.4 - boost query from where it finds the word(s)

2009-02-12 Thread Grant Ingersoll
Hi Sunny, As with any relevance issue, one of the first thing I ask before getting to a solution, is what is the problem you are seeing that makes you want to change the way things work? That being said, the only way you would be able to do this is through some custom components and I'm p

Re: Differences in output of spell checkers

2009-02-12 Thread Marcus Stratmann
Hi Grant, thanks for your help. I have just one more question: BTW, one workaround is to simply create an index from your file and then use the IndexBasedSpellChecker. Each line equals one document. You could even assign weights that way. In the solrconfig.xml there is a line field Can I u

Is this DIH entity forEach expression OK?

2009-02-12 Thread Fergus McMenemie
Hello, I am having bother with forEach. I have XML source documents containing many embedded images within mediaBlock elements. Each image has a an associated caption. I want to implement a separate image search function which searches the captions and brings back the associated image. Is

spellcheck.onlyMorePopular

2009-02-12 Thread Marcus Stratmann
Hello, I have another question concerning the spell checking mechanism. Setting onlyMorePopular=true and using the parameters spellcheck=true&spellcheck.q=gran&q=gran&spellcheck.onlyMorePopular=true I get the result 1 0 4 13 32 grand true which is oka

Re: Example Solr instance

2009-02-12 Thread Mauricio Scheffer
Hi Noble, the Solr instance is not exactly at example.solrstuff.org. I don't want to write here the exact url, it might get picked up by a bot... On Thu, Feb 12, 2009 at 4:51 AM, Noble Paul നോബിള്‍ नोब्ळ् < noble.p...@gmail.com> wrote: > this link is not working example.solrstuff.org. who is main

Re: Example Solr instance

2009-02-12 Thread Mauricio Scheffer
Yes, I'm aware of SolrSharp. I exposed my reasons to build another client in my blog (http://bugsquash.blogspot.com/2007/11/introducing-solrnet.html), it's a different approach. This is not something that I'm starting now - I've already used my client in production for over a year. I see on the fro

solr 1.4 - boost query from where it finds the word(s)

2009-02-12 Thread sunnyfr
Hi everybody, Wish you a nice day, I've a question, I would like to know if it's possible to boost differently some field according to where it find the word. Will try to make it more clear; I've a book core with title, description and tags. If word looked for is found in the title, I would li

solr 1.4 - boost query from where it finds the word(s)

2009-02-12 Thread sunnyfr
Hi everybody, Wish you a nice day, I've a question, I would like to know if it's possible to boost differently some field according to where it find the word. Will try to make it more clear; I've a book core with title, description and tags. If word looked for is found in the title, I would li

Re: commit looks stuck ?

2009-02-12 Thread sunnyfr
Hi Yes I saw that afterward so I decrease it from 5000 to 4500 Sunny Grant Ingersoll-6 wrote: > > It looks like you are running out of memory. What is your heap size? > > On Feb 11, 2009, at 4:09 AM, sunnyfr wrote: > >> >> Hi >> >> Have you an idea why after a night with solr running, b