How to identify the field with highest score in dismax
Hi, According solr documentation the dismax score is calculating after the formula : (score of matching clause with the highest score) + ( (tie paramenter) * (scores of any other matching clauses) ). Is there a way to identify the field on which the matching clause score is the highest? For example I suppose that I have the following document : Ford Mustang Coupe Cabrio Ford Mustang is a great car and the following dismax query : defType=dismax&qf=Name^10+Details^1&q="Ford+Mustang"+Ford+Mustang and receive the document with the score : 5.6. Is there a way to find out if the score is for the matching on Name field or for the matching on Details field? Thanks in advance! -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-identify-the-field-with-highest-score-in-dismax-tp3726297p3726297.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Shouldn't ReversedWildcardFilterFactory resolve leadingWildcard?
I found a partial solution. Using ReverseStringFilterFactory instead ReverseWildcardFilterFactory and searching after "rac*" will find "autocar" for example. -- View this message in context: http://lucene.472066.n3.nabble.com/Shouldn-t-ReversedWildcardFilterFactory-resolve-leadingWildcard-tp3335240p3335307.html Sent from the Solr - User mailing list archive at Nabble.com.
Shouldn't ReversedWildcardFilterFactory resolve leadingWildcard?
Hi, I use the next fieldType: What I want is to find autocar when I'm searching for "auto*", for example, but no leading wildcard is returned. When I check fieldType with Analysis, I get this : Index Analyzer autocar autocar autocar #1;racotua autocar Query Analyzer car car car car #1;rac car So using for my search "car*" shouldn't become rac* and match racotua ? Even if I search after "rac*" autocar is not found. Using for search *car* is very expensive so I'm trying to generate the reversed string and find it. There is a working configuration to accomplish this? -- View this message in context: http://lucene.472066.n3.nabble.com/Shouldn-t-ReversedWildcardFilterFactory-resolve-leadingWildcard-tp3335240p3335240.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: How to write this query?
Hi, key:value1^8 key:value2^4 key:value3^2 is correct. Sorry for bad query written. -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-write-this-query-tp3318577p3325033.html Sent from the Solr - User mailing list archive at Nabble.com.
scoring only by higher boost
Hi, For my search I want to calculate the score only by higher boost. For example: doc1 Charlie Jonhson doc2 Charlie Charlie So when I use the query : "q=name:Charlie^5 surname:Charlie^2", I want that both documents to have the same score, based on the boost value of the first field matched. I use a custom Similarity class and I overwrite all methods wich can influence the score(computenorm(...), tf(...), idf(...), queryNorm(...)), but I don't know how to change the score to take in consideration only the higher boost value and not the sum of bossts from all matched fields. Any idea, please... -- View this message in context: http://lucene.472066.n3.nabble.com/scoring-only-by-higher-boost-tp3322666p3322666.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: How to write this query?
You can try this: q=key:value1^8 key=value2^4 key=value3^2. It should be working. -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-write-this-query-tp3318577p3319491.html Sent from the Solr - User mailing list archive at Nabble.com.
How to order results by word position???
Hi, I have a problem with solr search. If I search after "vitamin" I receive : 1 - arrca MULTIVITAMIN FRUCHTSAFTBĂ„RCHEN 2 - VITAMIN E-KAPSELN NAT. 400 How can I configure the fieldtype or the query to get the documents by position of the word in documents found?("VITAMIN E-KAPSELN NAT. 400" before "arrca MULTIVITAMIN FRUCHTSAFTBĂ„RCHEN") I am using the following fieldtype: -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-order-results-by-word-position-tp3319445p3319445.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: It is possible to use a dynamic query in entity from dataConfig???
I found the solution. I will use multicore but all cores will have the same instanceDir, so I will have only one configuration for all cores. Thank you very much for your support! -- View this message in context: http://lucene.472066.n3.nabble.com/It-is-possible-to-use-a-dynamic-query-in-entity-from-dataConfig-tp3310802p3313053.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: It is possible to use a dynamic query in entity from dataConfig???
The issue is that I don't want to have multiple schema.xml and solrconfig.xml files. For a multicore implementation it is possible to use the same solrconfig.xml and schema.xml files? All my cores will have the same behaviour so, if I want to change something in future I want to be able to do this by modifing only one file, not one file/core. -- View this message in context: http://lucene.472066.n3.nabble.com/It-is-possible-to-use-a-dynamic-query-in-entity-from-dataConfig-tp3310802p3312964.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: It is possible to use a dynamic query in entity from dataConfig???
As I said is working, but I'm blocked again. I wish to have for each user a different index in a different dataDir. There is a way to do this with only one application of solr and without using multicore option? Can I set to switch the index by the table name? -- View this message in context: http://lucene.472066.n3.nabble.com/It-is-possible-to-use-a-dynamic-query-in-entity-from-dataConfig-tp3310802p3312656.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: It is possible to use a dynamic query in entity from dataConfig???
Thank you very much. It works. -- View this message in context: http://lucene.472066.n3.nabble.com/It-is-possible-to-use-a-dynamic-query-in-entity-from-dataConfig-tp3310802p3312620.html Sent from the Solr - User mailing list archive at Nabble.com.
It is possible to use a dynamic query in entity from dataConfig???
Hi, I have a database which has a table for each user(ex: table_name_user) and I want to make an index for each user, but using the same dataconfig.xml. It is possible to set dynamic the table used in query? I want to have only one dataconfig file because I have more than 50 users so it will be easily to modify only one file than 50 files if I want to change something in my indexing process. Do you know how to solve this? Thanks in advance!!! -- View this message in context: http://lucene.472066.n3.nabble.com/It-is-possible-to-use-a-dynamic-query-in-entity-from-dataConfig-tp3310802p3310802.html Sent from the Solr - User mailing list archive at Nabble.com.