Re: MultiCore problem

2007-12-14 Thread Ryan Mckinley
Yup sorry that wasn't more clear. I have found that 95% of the time I think something does not work, making a concise example makes me discover the problem. If it still does not work, there is something concrete to investigate/fix If you started with the example confit, make small changed

RE: MultiCore problem

2007-12-14 Thread Chris Hostetter
: I'd love to write a test but I'm not a java programmer. I believe Ryan just means "can you reproduce this with the example configs?" ... ie: can you describe for us, a way we can take a nightly snapshot, and reproduce the behavior you are describing. -Hoss

Re: Replication hooks - changing the index while the slave is running ...

2007-12-14 Thread Tracy Flynn
I've looked at everything suggested - documentation, code and scripts and I follow almost everything that's happening. If I understand correctly, when the updated snapshot is installed on the slave: 1) The existing index(es) being used by the Solr slave instance are physically deleted 2)

Re: solr.home via getServletContext().getInitParameter("solr.home")

2007-12-14 Thread Chris Hostetter
: Recently, I had to set up a Jetty with multiple Solr homes (not multi-core). I used JNDI with Jetty 6.1.6 to get this going. : Then Matt Kangas' note from July 2007 caught my attention: ... : : : ... : Is there a reason why this was not done? because context params ca

RE: MultiCore problem

2007-12-14 Thread Owens, Martin
I was able to run more tests by indexing a second document in core1, now both documents appear in both cores, very odd like they are both being searched. Is there any part of the config that could cause this? since the multicore solrconfig wasn't very good I replaced it with the solrconfig from

Re: MultiCore problem

2007-12-14 Thread Ryan McKinley
I'm not sure off hand... The junit tests go through this case, can you make a repeatable test from the example configs? thanks ryan Owens, Martin wrote: Hello everyone, Using the 2007-12-13 build I'm finding the multicore stuff isn't working as expected. I have indexed 1 document in core0

MultiCore problem

2007-12-14 Thread Owens, Martin
Hello everyone, Using the 2007-12-13 build I'm finding the multicore stuff isn't working as expected. I have indexed 1 document in core0 and 0 documents in core1; dong a search in core0 leads to a result, but I get the exact same result in core1; as if it's searching core0 again. Thoughts? B

Re: Solr Tutorial Issue

2007-12-14 Thread Yousef Ourabi
can you run: "cat /etc/hosts" and paste the output in an email. - Original Message - From: "Kirk Beers" <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Friday, December 14, 2007 12:46:13 PM (GMT-0800) America/Los_Angeles Subject: Re: Solr Tutorial Issue Hi Hoss, I get an erro

Re: Solr Tutorial Issue

2007-12-14 Thread Kirk Beers
Hi Hoss, I get an error that reads java.net.UnknownHostException kirk : kirk I will point out that I am new to Linux as well ! Thanks Kirk Chris Hostetter wrote: This thread in general is really confusing to me ... if you are following along withthe tutorial then tomcat should never enter t

Re: embeddedsolr and solrj index update request

2007-12-14 Thread Chris Hostetter
: Subject: embeddedsolr and solrj index update request : In-Reply-To: <[EMAIL PROTECTED]> http://people.apache.org/~hossman/#threadhijack Thread Hijacking on Mailing Lists When starting a new discussion on a mailing list, please do not reply to an existing message, instead start a fresh email.

RE: Python Solr Writer

2007-12-14 Thread Chris Hostetter
: That would be a python solr client, not a solr writer using this: : : http://lucene.apache.org/solr/api/org/apache/solr/request/PythonResponseWriter.html : : Not sure how the hell it's supposed to work to be honest. Can you clarify your question: Are you asking how the java code works inter

Re: Solr Tutorial Issue

2007-12-14 Thread Chris Hostetter
This thread in general is really confusing to me ... if you are following along withthe tutorial then tomcat should never enter the equation ... "java -jar start.jar" will use a copy of Jetty that is included in the Solr release to spin up a self contained webserver totally indepent of any app

Re: Solr Tutorial Issue

2007-12-14 Thread Yousef Ourabi
Kirk, Perhaps I mis-understood your initial question. If you are just following the get started tutorial you have to do a few things to get solr running on tomcat. Here is the Wiki resource: http://wiki.apache.org/solr/SolrTomcat Hope this helps. -Yousef - Original Message - From: "Ki

Re: Solr Tutorial Issue

2007-12-14 Thread Kirk Beers
Hi Yousef, Thanks for the reply! I am presently using the download from the Apache site and don't seem to be having much luck either. Yousef Ourabi wrote: Kirk, I'm also having trouble with the apt-installed tomcat5.5 instance -- though I haven't really taken enough time to figure it out.

Bug with deleteByQuery

2007-12-14 Thread Jörg Kiegeland
When I execute deleteByQuery, and afterwards I add new documents which match this query, then these documents are deleted though I added the documents AFTER the call to deleteByQuery . (Even a call of commit() seems not to help.) Any idea? PS: I use communication via HTTP /solrj / nightly buil

Re: sint not works when omitted or Integer.MAX_VALUE?

2007-12-14 Thread Jörg Kiegeland
There is a bug but it is not the bug I just described.. to follow..

Re: Solr replication

2007-12-14 Thread Bill Au
On Dec 14, 2007 7:00 AM, Dilip.TS <[EMAIL PROTECTED]> wrote: > Hi, > I have the following requirement for SOLR Collection Distribution using > Embedded Solr with the Jetty server: > > I have different data folders for multiple instances of SOLR within the > Same > application. > Im using the same

Re: Solr Tutorial Issue

2007-12-14 Thread Yousef Ourabi
Kirk, I'm also having trouble with the apt-installed tomcat5.5 instance -- though I haven't really taken enough time to figure it out. The same Context fragment works fine on the Debian etch apt-installed tomcat -- so I'm fairly sure it's specific to Ubuntu. A quick work-around would be to just

Solr Tutorial Issue

2007-12-14 Thread Kirk Beers
Hi, I am running Ubuntu, Java1.6 jdk and tomcat5.5. I can not seem to get the tutorial to run. The instructions seem simple and clear. start.jar ran fine but when I used http://localhost:8983/solr/admin/ nothing appeared. I also individually copied the apache-solr-nightly/dist/apache-solr-n

Re: Problems with SOLR Collection Distribution

2007-12-14 Thread Bill Au
Try setting data_dir to \opt\solr\data. I noticed that in the error message it shows "\" in the path to snapshooter (ie \opt\solr\bin\snapshooter) but "/" in the path to the data directory (ie /opt/solr/data). Bill On Dec 13, 2007 7:46 AM, Dilip.TS <[EMAIL PROTECTED]> wrote: > Hi, > When i chan

Re: Disabling the cache?

2007-12-14 Thread Mike Klaas
I would recommend limiting the documentCache to a small number (10-20), rather than zero. Otherwise, you will retrieve the documents multiple times in one request if you are doing highlighting. -Mike On 14-Dec-07, at 2:24 AM, Koji Sekiguchi wrote: Just comment out them: regards, Koji

Re: Python Solr Writer

2007-12-14 Thread Mike Klaas
Not sure if this helps, but note that the work is done in PythonWriter, which is a subclass of JSONWriter. Most of the work is done by JSONWriter due to the similarities of syntax. -Mike On 14-Dec-07, at 10:19 AM, Owens, Martin wrote: That would be a python solr client, not a solr writer

sint not works when omitted or Integer.MAX_VALUE?

2007-12-14 Thread Jörg Kiegeland
Hi, I have following field definition: ("slong" as defined in the Solr example schema). Now initially my Solr index is empty. I realized that as long as I do not add a document which defines a value for X which is not Integer.MAX_VALUE, documents added to the index get completely lost!

RE: Python Solr Writer

2007-12-14 Thread Owens, Martin
That would be a python solr client, not a solr writer using this: http://lucene.apache.org/solr/api/org/apache/solr/request/PythonResponseWriter.html Not sure how the hell it's supposed to work to be honest. -Original Message- From: [EMAIL PROTECTED] on behalf of Ed Summers Sent: Fri 12/

Re: Python Solr Writer

2007-12-14 Thread Ed Summers
Do you mean something like: http://svn.apache.org/repos/asf/lucene/solr/trunk/client/python/solr.py //Ed On Dec 14, 2007 10:20 AM, Owens, Martin <[EMAIL PROTECTED]> wrote: > I'm having some trouble understanding how the solr writer intergrates into > python, I can't find any examples so does

Dynamic autowarming queries

2007-12-14 Thread Robert Purdy
Hey there, is there a current way to specify dynamic autowarming queries in the solrconfig.xml? If not is it possible for the solrconfg.xml to read from a file that I can update on the fly to warm new dynamic fields in the schema or just new queries to warm to prevent a restart of solr and so the

how to intersect a doclist with a docset and get a doclist back?

2007-12-14 Thread Britske
Is there a way to get a doclist based on intersecting an existing doclist with a docset? However doing doclist.intersection(docset) returns docset. Is there something I'm missing here? I figured this must be possible since the order of the returned doclist is the same as the order of the in

Re: Disabling the cache?

2007-12-14 Thread Walter Underwood
That is not a very useful load test, since it doesn't match what you'll see in production. About half our requests are served from cache. Cache hits are all CPU, cache misses are heavy on IO. Testing with all cache misses will under-estimate CPU buy a huge amount. It is very hard to simulate a rea

Python Solr Writer

2007-12-14 Thread Owens, Martin
I'm having some trouble understanding how the solr writer intergrates into python, I can't find any examples so does anyone have any good examples of a python writer? Best Regards, Martin Owens

Re: Newbie question about Solr use in web applications

2007-12-14 Thread Stuart Sierra
On Dec 13, 2007 9:20 PM, solruser2 <[EMAIL PROTECTED]> wrote: > Let's say I have a database containing people, groups, and projects (these > all have different fields). I want to index these different kinds of objects > with a view to eventually present search results from all three types mashed >

RE: Solr replication

2007-12-14 Thread Dilip.TS
Hi, I have the following requirement for SOLR Collection Distribution using Embedded Solr with the Jetty server: I have different data folders for multiple instances of SOLR within the Same application. Im using the same SOLR_HOME with a single bin and conf folder. My query is: 1)Is is possible t

Re: How to effectively search inside fields that should be indexed with changing them.

2007-12-14 Thread Brian Carmalt
Hello Otis, The example I provided was a simplified one. The real usecase is that will have to dynamically adapt to field values, from which we have no idea what form they will have.. So unfortunately, a custom tokenizer will not work. I changed the n-gram values to min=max= 2 and I can match s

Re: Disabling the cache?

2007-12-14 Thread Koji Sekiguchi
Just comment out them: regards, Koji Robert Young wrote: Hi, Is it possible to disable all the caches in Solr. We want to be able to load test our Solr based application but we don't want the caches to affect the results (we're using Apache benchmark so just sending the same request over an

Disabling the cache?

2007-12-14 Thread Robert Young
Hi, Is it possible to disable all the caches in Solr. We want to be able to load test our Solr based application but we don't want the caches to affect the results (we're using Apache benchmark so just sending the same request over and over again). Cheers Rob

RE: embeddedsolr and solrj index update request

2007-12-14 Thread Sandeep Shetty
Hi Ryan i am running solr 1.3 in my solrconfig.xml i can see is that the right one? Regards, Sandeep -Original Message- From: Ryan Mckinley [mailto:[EMAIL PROTECTED] Sent: 13 December 2007 17:43 To: solr-user@lucene.apache.org Subject: Re: embeddedsolr and solrj index update request