Possible bug with commands to manage cores

2009-06-19 Thread Marc Sturlese
I have noticed that the response of the commands to deal with the cores administration can't show the result using php or phps reponseWriter. Despite passing the command wt=php the result will show always in xml. Json and ruby responseWriters work well. I am with a nightly from middle June. Didn't

Re: Can I use the same index from 1.2.0 to 1.3.0?

2009-06-19 Thread Shalin Shekhar Mangar
On Thu, Jun 18, 2009 at 10:40 PM, Francis Yakin wrote: > > Can I transport the index from Solr 1.2 to Sol 1.3 without > resubmiting/reloading again from Database? > > Yes, that should be possible. However, once you write from 1.3, you will not be able to read it from 1.2. Also, if you have a mas

Re: Possible bug with commands to manage cores

2009-06-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
this should have happened because of the fix for SOLR-1121 On Fri, Jun 19, 2009 at 12:41 PM, Marc Sturlese wrote: > > I have noticed that the response of the commands to deal with the cores > administration can't show the result using php or phps reponseWriter. > Despite passing the command wt=php

Auto suggest.. how to do mixed case

2009-06-19 Thread Ian Holsman
hi guys. I've noticed that one of the new features in Solr 1.4 is the Termscomponent which enables the Autosuggest. but what puzzles me is how to actually use it in an application. most autosuggests are case insensitive, so there is no difference if I type in 'San Francisco' or 'san francisco'.

Re: Possible bug with commands to manage cores

2009-06-19 Thread Marc Sturlese
So, shouldn't it be happening in current trunk? I have looked at the patch-1121 and php response writers doesn't apear... could I fix it myself adding the php RW in there? Noble Paul നോബിള്‍ नोब्ळ्-2 wrote: > > this should have happened because of the fix for SOLR-1121 > > On Fri, Jun 19, 2009

Re: Solr Query | Field:value with dismaxquery

2009-06-19 Thread prerna07
?q=facetFormat_product_s:"Pfqs ePub eBook Sfqs" - return correct results with all the documents which have "Pfqs ePub eBook Sfqs" in field facetFormat_product_s. However it does not work with Dismaxrequest. Also ?q=facetFormat_product_s:"Pfqs Boxed set Sfqs"&qt=dismaxrequest works perfectly fi

Re: Possible bug with commands to manage cores

2009-06-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
hi mark, yes . But i shall fix it anyway On Fri, Jun 19, 2009 at 1:04 PM, Marc Sturlese wrote: > > So, shouldn't it be happening in current trunk? I have looked at the > patch-1121 and php response writers doesn't apear... could I fix it myself > adding the php RW in there? > > Noble Paul നോബിള്‍

Re: Possible bug with commands to manage cores

2009-06-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
could I fix it myself adding the php RW in there? nope. the core admin does not have a place where you can add a writer 2009/6/19 Noble Paul നോബിള്‍ नोब्ळ् : > hi mark, > yes . But i shall fix it anyway > > On Fri, Jun 19, 2009 at 1:04 PM, Marc Sturlese wrote: >> >> So, shouldn't it be happening

Re: Possible bug with commands to manage cores

2009-06-19 Thread Noble Paul നോബിള്‍ नोब्ळ्
fixed 2009/6/19 Noble Paul നോബിള്‍ नोब्ळ् : > could I fix it myself adding the php RW in there? > > nope. the core admin does not have a place where you can add a writer > > 2009/6/19 Noble Paul നോബിള്‍  नोब्ळ् : >> hi mark, >> yes . But i shall fix it anyway >> >> On Fri, Jun 19, 2009 at 1:04 PM

Re: Possible bug with commands to manage cores

2009-06-19 Thread Marc Sturlese
Thanks, I apreciate the fast you did that. Noble Paul നോബിള്‍ नोब्ळ्-2 wrote: > > fixed > > 2009/6/19 Noble Paul നോബിള്‍ नोब्ळ् : >> could I fix it myself adding the php RW in there? >> >> nope. the core admin does not have a place where you can add a writer >> >> 2009/6/19 Noble Paul നോബിള്‍

Re: about boosting queries...

2009-06-19 Thread Marc Sturlese
Thanks! Even a bit late but it's really useful information!! hossman wrote: > > > Marc: I know it's been a while since you asked this question, but i didn't > see any reply ... in general the problem is that a "low" boost is stil la > boost, it can only improve the score of documents that ma

Re: OutOfMemoryErrors

2009-06-19 Thread tarjei
Hi, I just thought I'd note that upgrading to the 1.4 nightlies solved my problem. kind regards, Tarjei On 06/17/2009 02:38 PM, tarjei wrote: Hi, I'm having memory problems on one of my Solr slaves: SEVERE: Error during auto-warming of key:org.apache.solr.search.queryresult...@563c7832:java.lan

Re: Default AND operator | search on multiple fields

2009-06-19 Thread Erik Hatcher
On Jun 19, 2009, at 2:37 AM, prerna07 wrote: Hi, I want to perform search with default AND operator on multiple fields. Below mentioned query works fine with AND operator and one field : ?q={!lucene q.op=AND df=prdMainTitle_product_s}Ladybird Shrinkwrap However as soon as I add two fields,

howto hook spellcheck component to /select handler

2009-06-19 Thread Julian Davchev
Hi, Using solr 1.3 Where can I read thorough explanation how solrconfig and shema are interalted and how all those requests etc work. For example here... http://wiki.apache.org/solr/SpellCheckComponentI read YOU WILL LIKELY WANT TO BIND THE COMPONENT TO THE /select STANDARD REQUEST HANDLER

Re: about boosting queries...

2009-06-19 Thread Shalin Shekhar Mangar
On Fri, Jun 19, 2009 at 7:00 AM, Chris Hostetter wrote: > > Marc: I know it's been a while since you asked this question, but i didn't > see any reply ... in general the problem is that a "low" boost is stil la > boost, it can only improve the score of documents that match. > > one way to fake a "

Re: howto hook spellcheck component to /select handler

2009-06-19 Thread Shalin Shekhar Mangar
On Fri, Jun 19, 2009 at 6:16 PM, Julian Davchev wrote: > Hi, > Using solr 1.3 > Where can I read thorough explanation how solrconfig and shema are > interalted and how all those requests etc work. > There are wiki pages with details on solrconfig.xml and schema.xml http://wiki.apache.org/solr/S

Re: Solr Jetty confusion

2009-06-19 Thread Development Team
Hi Brett, Well, I'm running Solr in Jetty with JBoss, so I used the JBoss method of specifying properties (properties-service.xml). However, you can supply the solr-home to the command-line when you start Jetty by using a parameter like, "-Dsolr.solr.home=C:\solr". You can do it like how they

nested dismax queries

2009-06-19 Thread Ensdorf Ken
The recent discussion of filter queries has got me thinking about other ways to improve performance of our app. We have an index with a lot of fields and we support both single-search-box style queries using DisMax and fielded search using the standard query handler. We also support using both

Result orde is different from I expect

2009-06-19 Thread akinori
I am straggling with search result order of Solr. I indexed a English-certain language dictionary to Solr. Then below is the result of query="apple" and I am confused with this. Why doesn't "apple" come first and then Apple ? I'd like to have your suggestion to fix this to more. I am really stres

Re: Result orde is different from I expect

2009-06-19 Thread Erik Hatcher
Add &debugQuery=true and look at the enlightening scoring explanations. Erik On Jun 19, 2009, at 11:23 AM, akinori wrote: I am straggling with search result order of Solr. I indexed a English-certain language dictionary to Solr. Then below is the result of query="apple" and I am conf

Re: Result orde is different from I expect

2009-06-19 Thread akinori
Sorry below is full "schema.xml"

Replication in Solr 1.4 - redirecting update handlers?

2009-06-19 Thread Mark A. Matienzo
I'm trying to figure out the best solution to the following issue. We've got three boxes in our replication set up - one master and two load balanced slaves, all of which serve Solr using Tomcat. Given this setup, we're also using the Drupal apachesolr module, which currently supports only one "So

Re: Replication in Solr 1.4 - redirecting update handlers?

2009-06-19 Thread Doug Steigerwald
We had a similar issue using acts_as_solr. We already had lighttpd running on some servers so we just proxied all requests for /solr/CORE/ update to the master and /solr/CORE/select to a load balanced IP for our slaves. Doug On Jun 19, 2009, at 11:42 AM, Mark A. Matienzo wrote: I'm tryin

Urgent | Query Issue with Dismax | Please help

2009-06-19 Thread dabboo
Hi, I am facing very strange issue with query with dismaxrequest. Issue: I am Querying solr for field specific value, Query is returning correct results with "Pfqs Cassette Sfqs" while it does not work with "Pfqs ePub eBook Sfqs". Sample queries: ?q=facetFormat_product_s:"Pfqs ePub eBook Sf

Re: Searching across multivalued fields

2009-06-19 Thread Michael Ludwig
MilkDud schrieb: Michael Ludwig-4 wrote: What do you expect the user to enter? * "dream theater innocence faded" - certainly wrong * dream theater "innocence faded" - much better Most likely they would just enter dream theater innocence faded, no quotes. Without any quotes around any fields,

RE: Urgent | Query Issue with Dismax | Please help

2009-06-19 Thread Ensdorf Ken
> ?q=facetFormat_product_s:"Pfqs ePub eBook Sfqs"&qt=dismaxrequest - dose > not > return results, > although field facetFormat_product_s is defined in dismaxrequest > Handler of > solrconfig.xml When you use the dismax handler, you don't need to specify the field in the query string. It's meant

Re: Synchronisation problem with replication

2009-06-19 Thread Chris Hostetter
: Let's say I post a document on the master server, and the slaves do : a snappuller/installer via crontab every 1 minutes. : : Then between in average 30 seconds, all my search servers are not : synchronized. : : Is there a way to improve this situation ? If your slaves all use NTP to ke

Slowness during submit the index

2009-06-19 Thread Francis Yakin
We are experiencing slowness during reloading/resubmitting index from Database to the master. We have two environments: QA and Prod. The slowness is happened only in Production but not in QA. It only takes one hours to reload 2.5Mil indexes compare 5-6 hours to load the same size of index in

Re: Integetr field showing as boolean, breaking phps writer

2009-06-19 Thread Chris Hostetter
On Fri, 15 May 2009, Andrew McCombe wrote: : I have a field defined in schema.xml as an integer which should : contain either 0,1,2,10 or 11 values but my results documents are : showing this as either 'true' or 'false'. the majority of the half : million documents have this field as 0 or 1 but ar

Re: what does the version parameter in the query mean?

2009-06-19 Thread Chris Hostetter
: I was interested in this recently and also couldn't find anything on the : wiki. I found this in the list archive: FWIW... http://wiki.apache.org/solr/XMLResponseFormat?highlight=%28version%29 -Hoss

Re: Document Boosts don't seem to be having an effect

2009-06-19 Thread Chris Hostetter
: Date: Fri, 22 May 2009 17:35:39 -0400 : From: Jodi Showers : Subject: Document Boosts don't seem to be having an effect Jodi: I'm not sure if you ever solved this problem, but FWIW document boosts get folded into the fieldNorms along with the length and any field specific boosts you may h

ExtractRequestHandler - not properly indexing office docs?

2009-06-19 Thread cloax
Hi there, I've got a Solr instance running and am feeding it rich binary documents to index from a Django application. The setup works just fine with pdf's, etc.. but no matter what type of MS Word document ( doc and docx ) I feed it I can't get any results when searching for content-related que

Re: XPath query support in Solr Cell

2009-06-19 Thread Chris Hostetter
: Date: Wed, 20 May 2009 16:45:25 -0400 : From: Eric Pugh : Subject: XPath query support in Solr Cell Not sure if you figured this out, but your error is coming from curl, not from Solr. curl has a "feature" where it can hit multiple URLs that differe only by a sequential number in a range. c

Re: Problems getting up and running.

2009-06-19 Thread Chris Hostetter
TIm: I'm not sure if you figured this out on your own, but what you describe below is perfectly fine. /usr/local/tomcat/webapps/ is where tomcat is expanding the solr *application* and you have solr configured to keep it's *data* in /var/solr/data. If/when you upgrade in the future you can

trouble with 'unique' key - documents add, not replace

2009-06-19 Thread Jonathan Vanasco
as far as i understand from the docs, with a schema.xml like this... required="true" /> uid any items with the same uid in it should replace existing ones on the commit . is this correct ? because it seems that i do not replace, but only add new records

RE: Java OutOfmemory error during autowarming

2009-06-19 Thread Chris Hostetter
: Date: Mon, 1 Jun 2009 11:34:08 -0700 : From: Francis Yakin : Subject: RE: Java OutOfmemory error during autowarming ... : When it is initialized for the first time, how can I change it? Frnacis, I'm not sure if you already figured this out, but the point of hte documentation that Chri

Re: trouble with 'unique' key - documents add, not replace

2009-06-19 Thread Otis Gospodnetic
Jonathan, I'd have to test to double-check how things work when the unique key field is of type "text", if your "text" type is the same or similar to the one from the example schema.xml. You probably don't want that field to be of type text. Maybe int, or maybe string Otis -- Sematext -- h

Re: Slowness during submit the index

2009-06-19 Thread Otis Gospodnetic
Francis, I'm not sure if I understood your email correctly, but I think you are saying you are indexing your DB content into a Solr index. If this is correct, here are things to look at: * is the java version the same on both machines (QA vs. PROD) * are the same java parameters being used on

Re: Replication in Solr 1.4 - redirecting update handlers?

2009-06-19 Thread Otis Gospodnetic
Hi Mark, Would it work to pus something like Apache (or any LB or any other simpler tool) in front of your cluster and configure it to use mod_proxy or mod_rewrite to pass requests to appropriate backend Tomcat instance depending on the original URL? Otis -- Sematext -- http://sematext.com/

Re: Result orde is different from I expect

2009-06-19 Thread Otis Gospodnetic
Hello, If you first indexed "apple" and then you indexed "Apple" and if you are lowercasing this text before indexing (i.e. using LowerCaseFilterFactory), then if you search for "apple", you should fist get "apple", and then "Apple". If you first indexed "Apple" and then "apple", then a searc

Re: Result orde is different from I expect

2009-06-19 Thread akinori
Thank you for your input to such a beginner. I did'nt think that I had to do something for sorting when I get search result. I originally thought Solr would automatically sort. I think the result is the order I indexed. So how could I get so-called "dictionally ordered" result? Many thanks! H

Re: ExtractRequestHandler - not properly indexing office docs?

2009-06-19 Thread Grant Ingersoll
Can you share your schema for the fields you are indexing, the configuration of the ExtractingRequestHandler and what your requests look like? Also, can you share what the output of the extract only stuff looks like? Also, can you post .doc files to the example per http://wiki.apache.org/s

Re: Result orde is different from I expect

2009-06-19 Thread Otis Gospodnetic
Hello, You can sort by field by adding &sort=fieldname+asc or &sort=fieldname+desc to your search request URLs http://wiki.apache.org/solr/CommonQueryParameters#head-9f40612b42721ed9e1979a4a80d68f4f8524e9b4 Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Mes

Re: Multi Field AND Search

2009-06-19 Thread Otis Gospodnetic
Hello, I'm not sure what the question is. You may also want to include an example of what you are doing. Note that results are typically ordered based on the score of the match for each result/hit, not purely the boost, unless you created your own Similarity that ignores all other scoring fac

RE: Java OutOfmemory error during autowarming

2009-06-19 Thread Francis Yakin
Thanks Chris for the update. Right now we still having constant issue with our Production slaves. Do you think when I upgrade Solr to 1.3.0 this will fix the issue. I heard that in 1.3.0 there is parameter that you can set: 200 Francis -Original Message- From: Chris Hostetter [mailto:

RE: Slowness during submit the index

2009-06-19 Thread Francis Yakin
* is the java version the same on both machines (QA vs. PROD) - YES * are the same java parameters being used on both machines - YES * is the connection to the DB the same on both machines - Not sure, need to ask the network guy * are both the PROD and QA DB servers the same and are

Re: Slowness during submit the index

2009-06-19 Thread Otis Gospodnetic
Francis, So it could easily be that your QA and PROD DBs are really just simply different (different amount of data, different network speed, different hardware...) Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: Francis Yakin > To: "s

Re: trouble with 'unique' key - documents add, not replace

2009-06-19 Thread Erik Hatcher
"text" is likely analyzing to multiple terms which is incorrect for a uid type of field. set it to type="string" instead. and reindex from scratch. Erik On Jun 19, 2009, at 8:49 PM, Jonathan Vanasco wrote: as far as i understand from the docs, with a schema.xml like this...

RE: Slowness during submit the index

2009-06-19 Thread Francis Yakin
The amount of data in Prod is about 20% more than QA. We tested the network speed is fine. The hardware in Prod is larger and more powerful than QA. But QA is faster during reload. It takes QA only one hour than 6 hours in Prod. That's why we don't understand what's the reason, the amount of dat