Re: i wanna change response type to PHP serialize

2007-06-27 Thread Nick Jenkin
Are you able to attach a file of serialized (direct php serialized output from solr) result so I can test? Thanks -Nick On 6/28/07, James liu <[EMAIL PROTECTED]> wrote: code not change,,,and i not use utf8_decodeshould do it? 2007/6/28, Nick Jenkin <[EMAIL PROTECTED]>: > > Hi James > It is t

filter field have to be indexed?

2007-06-27 Thread James liu
i means define it in schema.xml,,, -- regards jl

Re: i wanna change response type to PHP serialize

2007-06-27 Thread James liu
code not change,,,and i not use utf8_decodeshould do it? 2007/6/28, Nick Jenkin <[EMAIL PROTECTED]>: Hi James It is totally not optimized, when you say change your content into ???, I assume this is because of UTF8 issues, are you using utf8_decode etc? Thanks -Nick On 6/28/07, James liu <[

Re: i wanna change response type to PHP serialize

2007-06-27 Thread Nick Jenkin
Hi James It is totally not optimized, when you say change your content into ???, I assume this is because of UTF8 issues, are you using utf8_decode etc? Thanks -Nick On 6/28/07, James liu <[EMAIL PROTECTED]> wrote: It is slower than json and xml,,,and it will change my content into ??? when i us

Re: i wanna change response type to PHP serialize

2007-06-27 Thread James liu
It is slower than json and xml,,,and it will change my content into ??? when i use json , content is ok. afternoon, iwill read ur code. 2007/6/27, James liu <[EMAIL PROTECTED]>: ok,,thks nick,,,i just forget replace jar file.. wait a minute i will test speed... 2007/6/27, Nick Jenkin <[E

RE: snapshooter no go

2007-06-27 Thread Xuesong Luo
I thought I had to use the full path in dir attribute, later I realized I should modify the environment variable path. Now it's working, I didn't append ./ before snapshooter. Thanks Xuesong -Original Message- From: Chris Hostetter [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 27, 2007

RE: snapshooter no go

2007-06-27 Thread Chris Hostetter
: I got similar problems, tried both default setting solr/bin and full : path /export/home/jboss/jboss-4.0.5.GA/bin/solr/bin, neither works. I'm : using 1.2. Did you try setting "exe" to "./snapshooter" ? for the record, there is no "default" setting of "solr/bin" in either the code, or in the e

RE: snapshooter no go

2007-06-27 Thread Xuesong Luo
I got similar problems, tried both default setting solr/bin and full path /export/home/jboss/jboss-4.0.5.GA/bin/solr/bin, neither works. I'm using 1.2. 2007-06-27 14:10:03,907 ERROR [STDERR] Jun 27, 2007 2:10:03 PM org.apache.solr.update.DirectUpdateHandler2 commit INFO: start commit(optimize=tru

Re: snapshooter no go

2007-06-27 Thread Chris Hostetter
: The "dir" is documented as: : dir - dir to use as the current working directory. default="." : : And its default value is defined as: : solr/bin : : The error was: :Cannot run program "snapshooter" (in directory "/foo/jetty-6.1.3/solr/bin"): java.io.IOException: error=2, No such file or

Re: Dynamically calculated range facet

2007-06-27 Thread Chris Hostetter
: For now, if you want to integrate existing standard/dismax : functionality, there is no great way to cleanly do this without copying : You could almost do what you need by overriding getFacetInfo(), but you : also need to check the DocList. actually, for this use case i think overriding getFa

RE: Dynamically calculated range facet

2007-06-27 Thread Chris Hostetter
: managers and test users happy. The use case that often came up was the : ability to dynamically drill inside ranges. For instance my first : search for 'computer on a large ecommerce site might yield ranges of : 0-500, 500-1000, 1000-2000, 2000+, selecting 500-1000 might then yield : ranges of

Re: multiple indices

2007-06-27 Thread Chris Hostetter
: Hm, that JNDI again... this makes it sound like SOLR-215 is completely : superfluous? No ... i still haven't had a chance to review the patch, but Henri makes some great argmuments for the "WHY" of the patch in the issue description... >>> Multiple cores: >>> Deployment issues within some orga

Re: Dynamically calculated range facet

2007-06-27 Thread Mike Klaas
On 27-Jun-07, at 1:07 AM, Martin Grotzke wrote: On Tue, 2007-06-26 at 16:48 -0700, Mike Klaas wrote: On 26-Jun-07, at 3:01 PM, Martin Grotzke wrote: Easy: facet based on fixed ranges (say, every 10 dollars for x < 100, 100 dollars for x < 1000, etc)., and combine them sensically on the clien

Re: Dynamically calculated range facet

2007-06-27 Thread Ryan McKinley
Martin Grotzke wrote: On Tue, 2007-06-26 at 23:22 -0700, Chris Hostetter wrote: : So if it would be possible to go over each item in the search result : I could check the price field and define my ranges for the specific : query on solr side and return the price ranges as a facet. : Otherwise,

Re: Error Response as HTML in Solr 1.2

2007-06-27 Thread Ryan McKinley
Maximilian Hütter wrote: Hi all, I switched to Solr version 1.2 and found that the response format changed completely for the error responses (for updates), which are delivered as HTML-Pages. Check the status code for the response. Anything not OK will have some code != 200. Using java's Ht

Re: Dynamically calculated range facet

2007-06-27 Thread Martin Grotzke
On Tue, 2007-06-26 at 23:22 -0700, Chris Hostetter wrote: > : So if it would be possible to go over each item in the search result > : I could check the price field and define my ranges for the specific > : query on solr side and return the price ranges as a facet. > > : Otherwise, what would be a

RE: Dynamically calculated range facet

2007-06-27 Thread Martin Grotzke
On Wed, 2007-06-27 at 09:06 -0400, Will Johnson wrote: > >one thing to keep in mind: it's typically not a good idea to have the > >constraint set of a facet change just because some other constraint was > >added to the query -- individual constraints might disappear because > >they no longer apply,

Re: multiple indices

2007-06-27 Thread Rafael Rossini
I have 3 different instances of solr on jetty 6.1.13, but you need the jetty plus. my etc/jetty.xml looks like this * /webapps/solr1* */solr1* /etc/webdefault.xml solr/home

RE: Dynamically calculated range facet

2007-06-27 Thread Will Johnson
>one thing to keep in mind: it's typically not a good idea to have the >constraint set of a facet change just because some other constraint was >added to the query -- individual constraints might disappear because >they no longer apply, but it can be very disconcerting to a user to >when options hc

Re: snapshooter no go

2007-06-27 Thread Otis Gospodnetic
PATH - bingo! The config + the log message are a bit misleading there, IMHO. The "dir" is documented as: dir - dir to use as the current working directory. default="." And its default value is defined as: solr/bin The error was: Cannot run program "snapshooter" (in directory "/foo/jetty-6

Re: snapshooter no go

2007-06-27 Thread Bill Au
I would also check ls -ld /foo/jetty-6.1.3 too. Bill On 6/27/07, Chris Hostetter <[EMAIL PROTECTED]> wrote: : Here is a puzzling one. I can't get Solr to invoke snaphooter properly. : Solr claims my snapshooter is not where I said it is: : : SEVERE: java.io.IOException: Cannot run program

Re: add CJKTokenizer to solr

2007-06-27 Thread Daniel Alheiros
OK Hoss. I agree with you. Regards, Daniel On 26/6/07 19:14, "Chris Hostetter" <[EMAIL PROTECTED]> wrote: > > : conversion tool... Other is to define a "version" on the config and > : depending on the version, the expected structure will be different. > > FYI: schema.xml does have this ... i

Re: XML vs JSON writer performance issues

2007-06-27 Thread Jérôme Etévé
2007/6/27, Yonik Seeley <[EMAIL PROTECTED]>: > > It would be helpful if you could try out the patch at > https://issues.apache.org/jira/browse/SOLR-276 > > -Yonik I just tryed it out and it works. json output is now as fast as xml ! Well done :) thank you ! J. -- Jerome Eteve. [EMAIL PROTECTE

Error Response as HTML in Solr 1.2

2007-06-27 Thread Maximilian Hütter
Hi all, I switched to Solr version 1.2 and found that the response format changed completely for the error responses (for updates), which are delivered as HTML-Pages. Before it was just XML coming back in all cases. Is there a way to change this to XML? Some switch in the solrconfig.xml I didn't

Re: Dynamically calculated range facet

2007-06-27 Thread Martin Grotzke
On Tue, 2007-06-26 at 19:53 -0700, John Wang wrote: > www.browseengine.com has facet search that handles this. You are calculating range facets dynamically? Do you have any code I can have a look at? I had a look at c.b.solr. BoboRequestHandler, but this does not seem to calculate ranges. Cheers,

Re: Dynamically calculated range facet

2007-06-27 Thread Martin Grotzke
On Tue, 2007-06-26 at 16:48 -0700, Mike Klaas wrote: > On 26-Jun-07, at 3:01 PM, Martin Grotzke wrote: > > AFAICS I do not have the possibility to specify range queries in my > > application, as I do not have a clue what's the lowest and highest > > price in the search result and what are "good" ra

Re: Dynamically calculated range facet

2007-06-27 Thread Martin Grotzke
Chris, thanx for all this info! I'll think about these things again and then come back to you... Cheers, Martin On Tue, 2007-06-26 at 23:22 -0700, Chris Hostetter wrote: > : my documents (products) have a price field, and I want to have > : a "dynamically" calculated range facet for that in the