: You will need to get SolrIndexSearcher.java and modify following:-
:
: public static final int GET_SCORES = 0x01;
No. Do not do that. There is no reason for anyone, to EVER modify that
line of code. Absolutely NONE
If you've made that change to your version of
Hoss,
As I mentioned previously, I prefer to do this with as little java
code as possible. That's the motivation for me to take a look at solr.
Here is the code snippet.
OpenBitSet resultBitset = new OpenBitSet(this.searcher.maxDoc());
this.searcher.search(query, new HitCollector() {
Hi,
1)Solr has various type of caches . We can specify how many documents cache
can have at a time.
e.g. if windowsize=50
50 results will be cached in queryResult Cache.
if user makes a new request to server for results after 50
documents a new request will be sent
Thanks, Abhay.
Can someone please throw light on how to disable scoring?
--shashi
On Wed, Sep 16, 2009 at 11:55 AM, abhay kumar abhay...@gmail.com wrote:
Hi,
1)Solr has various type of caches . We can specify how many documents cache
can have at a time.
e.g. if windowsize=50
You might be talking about modifying the similarity object to modify scoring
formula in Lucene!
$searcher-setSimilarity($similarity);
$writer-setSimilarity($similarity);
This can very well be done in Solr as SolrIndexWriter inherits from Lucene
IndexWriter class.
You might want to download
No, I don't wish to put a custom Similarity. Rather, I want an
equivalent of HitCollector where I can bypass the scoring altogether.
And I prefer to do it by changing the configuration.
--shashi
On Wed, Sep 16, 2009 at 6:36 PM, rajan chandi chandi.ra...@gmail.com wrote:
You might be talking
You will need to get SolrIndexSearcher.java and modify following:-
public static final int GET_SCORES = 0x01;
--Rajan
On Wed, Sep 16, 2009 at 6:58 PM, Shashikant Kore shashik...@gmail.comwrote:
No, I don't wish to put a custom Similarity. Rather, I want an
equivalent of