Hi,
We implemented our own CustomScoreProvider which used BinaryDocValues to get
data on each document and calculate a score for it, the CustomScoreProvider
gets a docId and could easily be used with the BinaryDocValues methods when
use lucene < 7.
We want to move to a newer version and see the B
Mikhail,
We've now override the equal & hashcode of the custom query to use this new
param as well, and it works like charm.
Thanks allot,
Ami
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solr-cache-when-using-custom-scoring-tp4216419p4216496.html
Sent from the Solr - U
No sure I get you, the parameter is passed to solr as a string.
It seems like solr use for the caching key only the query, sort and range of
documents
(from the doc - "This cache holds the results of previous searches: ordered
lists of document IDs (DocList) based on a query, a sort, and the range
Hi,
We are using solr and implemented our own custom scoring.
The custom scoring code use a parameter which passed to the solr query,
different parameter value will change the score of the same query.
The problem which we have is that this parameter is not part of the query
caching so running the
Hi,
Found the best way to do it (for the ones which will read it in the future).
Starting from Solr 4.8 nested documents can be used so for the document we
can created child document with the key & value as fields for each ley,
using block join queries will close to loop and give the ability to se
Thanks Charles,
We though of using multi-valued field but got the feeling it will not be
small as our data will grow.
Another issue with multi-valued field is that you can't create complex join
query, while using a different collection with document with more than one
field (e.g. recommendation_da
Thanks allot Charles,
This seems to be what I'm looking for.
Do you know if join for this amount of documents & user will still have good
query performance? also, is there any limitations for the solr architecture
once using the "join" method (i.e. sharding)?
Many thanks,
Ami
--
View this mess
Hi,
We have a solr index with ~1M documents.
We want to give the ability to our users to filter results from queries -
meaning they will not shown again for any query of this specific user (we
currently have 10K users).
You can think of a scenario like a "recommendation engine" which you don't
wa
Hi Jack,
This can really improve the solution, still it's less robust than an option
to search a "pair" (for example if the skills are indexed with an index key,
a query like "(skill1:php skill1_years:[2 TO *]) OR (skill2:php
skill2_years:[2 TO *] ...).
The solution I describe is not really good a
Hi Jack,
Thanks for the fast response.
I assume that using this technique will have the following limitations:
1) Skill characters will be limited
2) Field name are not analyze and will not be able to get the full search
pack (synonym, analyzers...)
Am i right?
If so do you familiar with other
Hi,
I'm using solr and trying to index a list of key/value pairs, the key
contains a string with a skill and the value is the years of experience
(i.e. someone with 5 years of php and 2 years of ruby).
I want to be able to create a query which return all document with a
specific skill and range o
11 matches
Mail list logo