question about FederatedSearch on wiki
Hello, I'm interested in FederatedSearch on wiki: http://wiki.apache.org/solr/FederatedSearch I would like to understand the design concept of this article properly, and I have some questions: 1. What does multi-step mean? e.g. Nice to haves: Retain ability to have complex *multi-step* query handler plugins Complex Federation total consistency for *multi-step* requests total consistency for any global idf calculations (a *multi-step* process) 2. It seems that consistency is one of key concept in Complex Federation, but I don't really understand it. In other words, I don't understand what inconvenience we will face if the request handler doesn't guarantee that the view of the index does not change during a single request. Does it mean that the merger's request handler needs two or more RPCs to respective subsearchers for a single request? 3. Will SolrMultiSearcher have caches? (filter, queryResult, and document) Thanks in advance, Koji
Question about word treatment...
(1) How does one ensure that Solr treats words like .Net and 3D correctly ? Right now, they get translated into Net and 3 d respectively. (2) Is it possible to force Lucene to treat a multiword (e.g. Ruby on Rails) as one word ? I am not sure if there is a mechanism to do this by creating a special text file (like the one that exists for synonyms for instance) ? Thanks. -- View this message in context: http://www.nabble.com/Question-about-word-treatment...-tf3693913.html#a10329261 Sent from the Solr - User mailing list archive at Nabble.com.
Re: Re[2]: facet.sort does not work in python output
On 5/4/07, Jack L [EMAIL PROTECTED] wrote: I use this to sort the facet field values against count in reverse order in Python: sorted(facet_field_values.items(), lambda x, y: cmp(x[1], y[1]), reverse = True) FWIW, the key= parameter is generally more efficient for python 2.4+: sorted(facet.field_values.items(), key=lambda x: x[1], reverse=True) or even from operator import itemgetter sorted(facet.field_values.items(), key=itemgetter(1), reverse=True) digressionally, -Mike
OR condition in search...
Is is possible to specify that a term to be looked up in alternate ways - e.g. search = 3 D OR 3D ? Reason being, by default, a search for 3D is being split into 3 D. Thanks. -- View this message in context: http://www.nabble.com/OR-condition-in-search...-tf3695012.html#a10332814 Sent from the Solr - User mailing list archive at Nabble.com.
Facet only support english?
Expect it to support other language like chinese. maybe solr facet can config like this when it support other language. str name=facet.querytitle:诺基亚/str or str name=facet.querytitle:'诺基亚'/str or str name=facet.querytitle:诺基亚/str -- regards jl
Re: Question about word treatment...
: (1) How does one ensure that Solr treats words like .Net and 3D correctly ? : Right now, they get : translated into Net and 3 d respectively. Solr doesn't do anything special with your input by default -- it only does what your schema.xml tells it to do .. if you use the example schema, then some text fields might be configured to use the WordDelimiterFilter (which would split 3D into 3, D) ... if you don't like that behavior you cna change it .. there are a lot of Tokenizer and TokenFilter options available out of the box ... all of which are well documented on the Wiki, and as you ply with them it's easy to see what they do using the ANALYSIS link on the Solr admin screen. -Hoss