| clear query|facets|time |
Search criteria: SimilarityProvider .
Results from 1 to 10 from
568 (3.52s).
|
|
|
Loading phrases to help you refine your search...
|
|
Re: Explain the difference in similarity and similarityProvider - Solr - [mail # user]
|
|
... entire app, and some methods in that API took a field name and some didn't. LUCENE-2236 changed that, by introducing the "SimilarityProvider" api, which is the new "there should be one...
|
|
... of these for your app" class that handles "global" type things, and it can return "Similarity" objects on a per field basis as needed... http://search-lucene.com/jd/lucene/org/apache/lucene/search/SimilarityProvider...
|
[+ show more]
[- hide]
| ....html SOLR-2338 then added the ability to configure (in schema.xml) instances per fieldType, using a SolrSimilarityProvider that is managed by Solr's internal "IndexSchema". It also added a new... |
| ... top level decalration to allow users to define a SimilarityProviderFactory for specifying a complete SolrSimilarityProvider to handle the other non field specific methods. The reason SolrSimilarityProvider... |
| ... of Solr is also still supported for people who want to change the Similarity for all fields, but don't want to deal with writing a SimilarityProviderFactory. This is all really new stuff... |
|
|
Author: Chris Hostetter,
2011-06-16, 00:14
|
|
|
Re: Sort by currency field using OpenExchangeRatesOrgProvider - Solr - [mail # user]
|
|
... ... ... ... Hmmm, do you only see this problem with the OpenExchangeRatesOrgProvider? have you tried reproducing it with the FileExchangeRateProvider ? The provider used shouldn...
|
|
...'t have any effect on wether the sorting code works, but there also don't seem to be any tests actaully excercising the OpenExchangeRatesOrgProvider, so it's possible that there might be some...
|
|
|
Author: Chris Hostetter,
2013-03-01, 02:03
|
|
|
Re: can't determine sort order with desc provided - Solr - [mail # user]
|
|
... then it sounds like the PHP library you are using is URL escaping things properly, and you should just be passing a simple space character to it. the canonical form o...
|
|
|
Author: Chris Hostetter,
2011-11-08, 03:56
|
|
|
Re: Problem with custom Similarity class - Solr - [mail # user]
|
|
... request look like? The trunk branch of lucene/solr has made some changes to how similarity works (it's now very much per field) and how you declare your similarity in schema.xml ... if i...
|
|
... remember correctly, the syntax from 3.1 to declare a "global" similarity *should* still work in 4.x as a way to declare the "default" used by fields that don't define a similarity, but there may...
|
[+ show more]
[- hide]
| ... are testing this and what you mean by "is not used when queries are made" ... it's important to rule out the possibility that you are just missunderstanding how the similarity methods are used... |
|
|
Author: Chris Hostetter,
2011-05-16, 21:36
|
|
|
Re: Casting Exception with Similarity - Solr - [mail # user]
|
|
... I have two alternate guesses 1) this may be a missleading error message, the real problem may be that without a default constructor, it can't instantiate your Similarity. 2...
|
|
...) this may be the behavior when the version of Similarity/DefaultSimilarity you compile your class against don't match the versions loaded by the JVM solr is running in (i think...
|
|
|
Author: Chris Hostetter,
2007-03-02, 05:00
|
|
|
Re: Casting Exception with Similarity - Solr - [mail # user]
|
|
... Hmmm... you mean http://wiki.apache.org/solr/SchemaXml right? yeah i can see how that would be a little confusing ... i've made some updates, feel free to edit the docs further i...
|
|
|
Author: Chris Hostetter,
2007-03-14, 17:56
|
|
|
Re: Casting Exception with Similarity - Solr - [mail # user]
|
|
... it's mentioned in both the plugin wiki i listed, as well as the README for solr.home (example/solr/README.txt) ... do you have any suggestions about where else we should document it? &...
|
|
|
Author: Chris Hostetter,
2007-03-03, 22:35
|
|
|
Re: Similar documents and advantages / disadvantages of MLT / Deduplication - Solr - [mail # user]
|
|
... job of identifying the 5 similar docs, then use that at index time. If you want to keep 4/5 out of the index, then use the Deduplcation features to prefent the duplicates from being indexed...
|
|
... and your done. If you wnat all docs in the index, then you have to decide how you want to "mark" docs as similar ... do you want to only have one of those docs appear in all of your results...
|
[+ show more]
[- hide]
| ..., or do you want all of them in the results but with an indication that there are other similar docs? If the former: then take a look at "Grouping" and group on your signature field... |
| .... If the latter, use the MLT component, to find similar docs based on the signature field (ie: mlt.fl=signature_t) https://wiki.apache.org/solr/FieldCollapsing -Hoss ... |
|
|
Author: Chris Hostetter,
2011-11-16, 23:56
|
|
|
Re: SweetSpotSimilarity - Solr - [mail # user]
|
|
... by reading the example schema.xml... --> param value --> -Hoss...
|
|
|
Author: Chris Hostetter,
2010-07-02, 19:12
|
|
|
Re: problems writing a custom Similarity class - Lucene - [mail # dev]
|
|
..., but i'm pretty sure having a declaration like that in the "root" of your schema.xml should still work for providing a "default" similarity for field types that don't override it. If you "grep...
|
|
... ... 1) what version/branch of Solr are you developing against? 2) where did you put that declaration? do you see any INFO level log messages from solr on startup that mention "TestSimilarity...
|
[+ show more]
[- hide]
| ..." ? 3) what types of test queries are you running? The method for configuring Similarity instances has changed a lot in the trunk of Solr now that Lucene uses per-field similarity instances... |
| ... -ri similarity solr/core/src/test solr/core/src/test-files" you should see some tests (and test configs) demonstrating custom similarities in use. (although trunk has a lot more tests... |
| ... because there are a lot more out of the box Similarity classes on trunk) -Hoss ... |
|
|
Author: Chris Hostetter,
2011-10-01, 01:39
|
|
|
|