Hi,

The answer for 3) is:
Use DisMax request handler.  In solrconfig.xml assign weights/boosts to 
different fields.  No need to use copyField then, as you can search multiple 
fields with DisMax by just specifying them in the solrconfig.xml.

Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch


----- Original Message ----
> From: Sachin <[EMAIL PROTECTED]>
> To: solr-user@lucene.apache.org
> Sent: Thursday, June 12, 2008 3:06:31 AM
> Subject: Couple of questions on solr
> 
> [Reposting cause for some reasons I can't find this on the list, so apologies 
> for the double post]
> Hi All,
> 
> I am quite new to solr and trying to use solr with a .net web site (!). So 
> far, 
> solr 
> hasn't given me any major jitters but I've been stuck with few things 
> off-late; 
> hopefully; I can get them answered over here.
> 
> 1) Overview: Currently, we have around 20,000 documents to index with 
> individual 
> doc size around 5k. We have set up faceting on a multi-valued field (there 
> will 
> be ~20 facets per document).
> 2) Faceted navigation: I've read that faceted navigation on a multi-valued 
> field 
> has some performance implications. Unfortunately; the current site requires 
> multi-valued faceting and I cannot break them into unique fields for 
> faceting. 
> What is the best way to get 
> maximum performance on a multi-valued field?
> 3) We support three kinds of search on our site: a free text search, the 
> faceted 
> navigation and a negation search. For free text search, we have created a 
> text 
> field (as defined in example schema.xml) and use copyField to copy other 
> fields 
> to this, the free text search happens on this text field only, for example, 
> say 
> a doc can have two fields: 
> title and description, both of these are copied to text field using copyField 
>  
> to this text field and free text search happens on this field. Is there any 
> way, 
> that I can assign weights for the relevancy search, if I am using this new 
> field 
> i.e. if the user 
> searches for "sunny" and there is a document (doc1) with title as "sunny 
> something" and another document (doc2) with description as "sunny 
> description", 
> is it possible to return doc1 before doc2; given that the search is happening 
> on 
> the copied field? If that's not possible is there any other way that this can 
> be 
> achieved (please keep in mind that we have around 8 fields for a document 
> with 4 
> of them being multi-valued, so searching explicitly on all of them and assign 
> boost at query time might not be very funny). Can I use DismaxHandler for 
> this 
> kind of copyField field, if yes, is there any way that I can define 
> Dismaxhandler as the default handler in solrconfig.xml, without having to 
> explicitly provide it during query time?
> 
> Thanks in advance,
> Sachin
> 
> ____________________________________________________________
> Smart Girls Secret Weapon
> Read Unbiased Beauty Product Reviews, Get Helpful Tips, Tricks and Sam
> http://thirdpartyoffers.netzero.net/TGL2231/fc/JKFkuJO6p0C525RM1AF9yqNIvskd7xVfuxfTXAn9eee8K4yeOkBKLP/

Reply via email to