Re: Error Response as HTML in Solr 1.2

2007-07-02 Thread Maximilian Hütter
Ryan McKinley schrieb: > 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

How to use AND / OR with DismaxRequestHandler?

2007-07-02 Thread Thierry Collogne
Hello, I have a couple questions about the DismaxRequestHandler. I am using it, because I want to use the boosting mechanism, but I can't get the following to work : We also have an advanced search where users can search for : * An exact combination of words * All the words * One

Re: How to use AND / OR with DismaxRequestHandler?

2007-07-02 Thread Nick Jenkin
Not sure you can, but if it helps you can use boosting in the standard request handler: post AND lettre _val_:"recip(popularityRank,1,1000,1000)^2.5" -Nick On 7/2/07, Thierry Collogne <[EMAIL PROTECTED]> wrote: Hello, I have a couple questions about the DismaxRequestHandler. I am using it, becau

Specific fields with DisMaxQueryHandler

2007-07-02 Thread Jérôme Etévé
Hi , when we use DisMaxQueryHandler, queries that includes specific fields which are not part of the boost string doesn't seem to work. For instance, If the boost string ( qf ) is 'a^3 b^4' and my query is 'term +c:term2' , it doesnt produce any result. Am I using this QueryHandler the bad way

Re: Specific fields with DisMaxQueryHandler

2007-07-02 Thread Paul Borgermans
Indeed, you should not include fields in the query itself, qf is the parameter that takes the fields to search for, with optional boosts hth Paul On 7/2/07, Jérôme Etévé <[EMAIL PROTECTED]> wrote: Hi , when we use DisMaxQueryHandler, queries that includes specific fields which are not part of

Re: How to use AND / OR with DismaxRequestHandler?

2007-07-02 Thread Paul Borgermans
Hi Take a look at the query parameters it supports: http://wiki.apache.org/solr/DisMaxRequestHandler An exact combination (phrase), all of the words or one are possible: you can use the mm parameter (100% and 1 for your case). Part of a word is not possible, nor explicit query fields in the q

Re: How to use AND / OR with DismaxRequestHandler?

2007-07-02 Thread Thierry Collogne
The 1 and 100% did it. But I am not sure how I can do the exact combination (phrase). Could you tell me, please? On 02/07/07, Paul Borgermans <[EMAIL PROTECTED]> wrote: Hi Take a look at the query parameters it supports: http://wiki.apache.org/solr/DisMaxRequestHandler An exact combination

How to do a wildcard search in solr?

2007-07-02 Thread Thierry Collogne
Hello, I am trying to do a wildcard search in Solr. In lucene I could pass the query post* and get all the results containg a word beginning with post. When I do the same in Solr, it doesn't work. Adding the wildcard gives me less results, this should be the opposite. Do I need to configure the

Re: How to use AND / OR with DismaxRequestHandler?

2007-07-02 Thread Chris Hostetter
dismax is designed for usecases like... * users enter a handfull of words (albino elephant gift) * users enter some words, with prefixes indicating some are required and some are prohibited (albino +elephand -gift) * users enter words or phrases ("albino elephant" gift) as far as AND/O

Re: How to do a wildcard search in solr?

2007-07-02 Thread Chris Hostetter
: I am trying to do a wildcard search in Solr. In lucene I could pass the : query post* and get all the results containg a word beginning with post. : When I do the same in Solr, it doesn't work. Adding the wildcard gives me : less results, this should be the opposite. can you give us a specific

Solr Injection

2007-07-02 Thread Ian Holsman
Hi. I've been playing with Kettle (http://kettle.pentaho.org/ ) as a method to inject data into Solr (and other things at the same time), and it looks really promising. I was wondering if anyone else had some experience using it with Solr and if they set it up to add a document at a time, or