mandatory and optional fields in the dismaxrequesthandler

2007-07-24 Thread [EMAIL PROTECTED]
Hello, Is it possible to specify precisely one or more mandatory fields in a DismaxRequestHandler? Something like that: explicit 0.01 text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4 text^0.2 features^1.1 name^1.5 manu^1.4 manu_exact^1

RE: Pagination of results and XSLT.

2007-07-24 Thread Ard Schrijvers
> We do pagination in XSL 1.0 often -- direct from a solr response > right to HTML/CSS/JS. > You get both the start and total rows from the solr response, so I > don't know what else you'd need. I have been using similar xsls like you describe below in the past, butI think after 3 years

Re: How to read values of a field efficiently

2007-07-24 Thread Martin Grotzke
On Mon, 2007-07-23 at 23:32 -0700, Chris Hostetter wrote: > : This part (reading field values) takes fairly long compared > : to the other fields (that use getFacetTermEnumCounts or > : getFieldCacheCounts as implemented in SimpleFacets), so that > : I asume that there is potential for optimization

Re: Pagination of results and XSLT.

2007-07-24 Thread Brian Whitman
On Jul 24, 2007, at 5:20 AM, Ard Schrijvers wrote: I have been using similar xsls like you describe below in the past, butI think after 3 years of using it I came to realize (500 internal server error) that it can lead to nasty errors when you have a recursive call like (though I am

boost field without dismax

2007-07-24 Thread Alessandro Ferrucci
Hello, is there a way to boost a field much like is done in dismax request handler? I've tried doing index-time boosting by providing the boost to the field as an attribute in the add doc but that did nothing to affect the score when I went to search. I do not want to use dismax since I also wa

Re: boost field without dismax

2007-07-24 Thread Brian Whitman
Jul 24, 2007, at 9:42 AM, Alessandro Ferrucci wrote: is there a way to boost a field much like is done in dismax request handler? I've tried doing index-time boosting by providing the boost to the field as an attribute in the add doc but that did nothing to affect the score when I went to s

Multiple field search with different values..

2007-07-24 Thread nithyavembu
Hi All, I need to know how to form a query using multiple fields which contains same values? I worked with single field and it working well. For eg : http://localhost:8085/solr/select?q=sun*&fl=ALL when i worked with the above http request it returns all data starting with the w

EdgeNGramTokenizer errors in eclipse

2007-07-24 Thread Sundling, Paul
I checked out the latest solr source code from subversion and put it in an eclipse project. I used all the jars for the project (had to add junit). I get errors in eclipse about two constants not being defined in one of the library jars: (based on imports org.apache.lucene.analysis.ngram.EdgeNG

Re: Pagination of results and XSLT.

2007-07-24 Thread Nuno Leitao
Thanks Brian, That worked like a treat - it has a small bug though, where it reads: You actually want: I stand corrected about XSLT limitations though :) --Nuno On 24 Jul 2007, at 02:27, Brian Whitman wrote: Has anyone tried to handle pagination of results using XSLT's ? I'm not re

Re: boost field without dismax

2007-07-24 Thread Thierry Collogne
U can also add the boosting to the field at indextime. For example foobar And then u can do the query firstname:foobar OR lastname:foobar The above query will then boost the documents where foobar is in the lastname Hope this helps, Thierry On 24/07/07, Brian Whitman <[EMAIL PROTECTED]> wr

Re: boost field without dismax

2007-07-24 Thread Thierry Collogne
Here you can find some explanation http://wiki.apache.org/solr/UpdateXmlMessages On 25/07/07, Thierry Collogne <[EMAIL PROTECTED]> wrote: U can also add the boosting to the field at indextime. For example foobar And then u can do the query firstname:foobar OR lastname:foobar The above q