Is there a DTD/XSD for XML response?

2008-11-18 Thread Simon Hu
Hi, I assume there is a schema definition or DTD for XML response but could not find it anywhere. Is there one? thanks -Simon -- View this message in context: http://www.nabble.com/Is-there-a-DTD-XSD-for-XML-response--tp20565773p20565773.html Sent from the Solr - User mailing list archiv

Re: Question about facet.prefix usage

2008-10-01 Thread Simon Hu
t filter the result set at all. > It provides a count for how many documents in the current result set > (determined by q/fq parameters, oh, and bq sometimes too, doh! :) > match that query. > > Erik > > > > On Sep 30, 2008, at 9:42 PM, Simon Hu wrote

Re: Question about facet.prefix usage

2008-09-30 Thread Simon Hu
not really. facet.query filters the result set. Here we need to filter the facet counts by multiple facet prefixes. facet.query would work only if the faceted field is not a multi-value field. Erik Hatcher wrote: > > If I'm not mistaken, doesn't facet.query accomplish what you want? > >

Re: Question about facet.prefix usage

2008-09-29 Thread Simon Hu
I also need the exact same feature. I was not able to find an easy solution and ended up modifying class SimpleFacets to make it accept an array of facet prefixes per field. If you are interested, I can email you the modified SimpleFacets.java. -Simon steve berry-2 wrote: > > > Question: Is

Re: How to boost the score higher in case user query matches entire field value than just some words within a field

2008-08-21 Thread Simon Hu
I am definitely interested in trying your Similarity class. Can you please post the patch in jira? thanks -Simon Sean Timm wrote: > > In the example below, Doc1, and Doc2 will all have the same score for > the query "chevrolet tahoe." We would prefer Doc2 to score higher than > Doc1. Th

How to boost the score higher in case user query matches entire field value than just some words within a field

2008-08-20 Thread Simon Hu
Hi I have a text field named prodname in the solr index. Lets say there are 3 document in the index and here are the field values for prodname field: Doc1: cordless drill Doc2: cordless drill battery Doc3: cordless drill charger Searching for prodname:"cordless drill" will hit all three docum