RE: Edismax bq(boost query) with filter range on score

2019-12-09 Thread Raboah, Avi
;t get the documents with default score equal to 1.0 -Original Message- From: Raboah, Avi [mailto:avi.rab...@verint.com] Sent: Monday, December 09, 2019 2:09 PM To: solr-user@lucene.apache.org Subject: RE: Edismax bq(boost query) with filter range on score I am using solr 7.6.0 and I try to

RE: Edismax bq(boost query) with filter range on score

2019-12-09 Thread Raboah, Avi
I am using solr 7.6.0 and I try to check the incl and incu I get the same result for true or false -Original Message- From: Paras Lehana [mailto:paras.leh...@indiamart.com] Sent: Monday, December 09, 2019 1:31 PM To: solr-user@lucene.apache.org Subject: Re: Edismax bq(boost query) with

Re: Edismax bq(boost query) with filter range on score

2019-12-09 Thread Paras Lehana
ore between (1.0 < score < 4.0) although > lower bound equal to 0. > > Thanks. > > -Original Message- > From: Paras Lehana [mailto:paras.leh...@indiamart.com] > Sent: Monday, December 09, 2019 11:51 AM > To: solr-user@lucene.apache.org > Subject: Re: Edi

RE: Edismax bq(boost query) with filter range on score

2019-12-09 Thread Raboah, Avi
bq)&q=*:*&rows=2000 I get all the documents with score between (1.0 < score < 4.0) although lower bound equal to 0. Thanks. -Original Message- From: Paras Lehana [mailto:paras.leh...@indiamart.com] Sent: Monday, December 09, 2019 11:51 AM To: solr-user@lucene.apache.org

Re: Edismax bq(boost query) with filter range on score

2019-12-09 Thread Paras Lehana
December 09, 2019 7:08 AM > To: solr-user@lucene.apache.org > Subject: Re: Edismax bq(boost query) with filter range on score > > Hi Raboah, > > What do you mean by filter range? Please post expected result. Do you want > to put an fq on the score? > > On Sun, 8 Dec 201

RE: Edismax bq(boost query) with filter range on score

2019-12-09 Thread Raboah, Avi
r 09, 2019 7:08 AM To: solr-user@lucene.apache.org Subject: Re: Edismax bq(boost query) with filter range on score Hi Raboah, What do you mean by filter range? Please post expected result. Do you want to put an fq on the score? On Sun, 8 Dec 2019 at 17:54, Raboah, Avi wrote: > Hi, > &

Re: Edismax bq(boost query) with filter range on score

2019-12-08 Thread Paras Lehana
Hi Raboah, What do you mean by filter range? Please post expected result. Do you want to put an fq on the score? On Sun, 8 Dec 2019 at 17:54, Raboah, Avi wrote: > Hi, > > In order to use solr boost mechanism for specific text I use the bq field > under deftype=edisMax. > > For example - > q=*:*

Edismax bq(boost query) with filter range on score

2019-12-08 Thread Raboah, Avi
Hi, In order to use solr boost mechanism for specific text I use the bq field under deftype=edisMax. For example - q=*:*&deftype=edisMax&bq=text:"phrase"^3&fl=*,score after I do this query I get the relevant documents boosted with the solr calculation score. Now my question is there a way to d

Re: Negative boost query (bq) with edismax for lower scores with Solr 8

2019-05-23 Thread CO
I didn't see any response so I wanted to check if my observation simply is not relevant for other people or if I missed to provide any required details. Thanks! -Original Message- Date: 05/09/2019 08:28 AM Subject: Negative boost query (bq) with edismax for lower scores with Solr

Negative boost query (bq) with edismax for lower scores with Solr 8

2019-05-09 Thread CO
I find that the edismax boost query implementation is not quite logical. It does not allow selectively decreasing the relevancy score anymore. E.g. bq=color:red^2 can be added to increase the score of matching documents. But how can I decrease the score for documents with color:red? Before Solr

Re: boost query

2018-12-07 Thread Erik Hatcher
Only way to know is to try! ;) You have a typo on “noika”.I’d use ‘bf’ instead of bq so as to specify the function without the _val_ stuff. Erik > On Dec 7, 2018, at 02:19, Midas A wrote: > > Thanks Erik. > Please confirm > if keyword = "nokia" > *bq=_val_:%22payload(vals_dpf,noika)%

Re: boost query

2018-12-06 Thread Midas A
Thanks Erik. Please confirm if keyword = "nokia" *bq=_val_:%22payload(vals_dpf,noika)%22&defType=edismax* *wil this query work for me ?.* On Fri, Dec 7, 2018 at 12:12 PM Erik Hatcher wrote: > This blog I wrote will help. Let us know how it goes. > > https://lucidworks.com/2017/09/14/s

Re: boost query

2018-12-06 Thread Erik Hatcher
This blog I wrote will help. Let us know how it goes. https://lucidworks.com/2017/09/14/solr-payloads/ Erik > On Dec 7, 2018, at 01:31, Midas A wrote: > > I have a field at my schema named *val_dpf* . I want that *val_dpf* should > have payloaded values. i.e. > > noika|0.46

boost query

2018-12-06 Thread Midas A
I have a field at my schema named *val_dpf* . I want that *val_dpf* should have payloaded values. i.e. noika|0.46 mobile|0.37 samsung|0.19 redmi|0.22 When a user searches for a keyword i.e. nokia I want to add 0.46 to usual score. If user searches for samsung, 0.19 should be added . how can i

Re: solr boost query

2018-09-10 Thread Erick Erickson
ode:"B" > > }, > > { > > topic_code:"A" > > }, > > { > > topic_code:"A" > > }, > > { > > topic_code:"C" > > }, > > { > > topic_code:"A" > > },.. > > now i want to get respanse from

Re: solr boost query

2018-09-10 Thread Erick Erickson
> },.. > now i want to get respanse from a solr 100 dosuments , and i want to have > 70 document with topic_code:A and 10 documents with topic_code:B and 20 > document with topic_code:C. > so i guess i need SOLR BOOST QUERY. > some thing like this : > q=(topic_code:A)^70 OR (topic_code:B)^20 OR (topic_code:C)^10 & row=100 > but this isn't work. > could u help me to create a suitable query and get my best result ? > tnx.

solr boost query

2018-09-10 Thread sara hajili
de:"A" },.. now i want to get respanse from a solr 100 dosuments , and i want to have 70 document with topic_code:A and 10 documents with topic_code:B and 20 document with topic_code:C. so i guess i need SOLR BOOST QUERY. some thing like this : q=(topic_code:A)^70 OR (topic_code:B)^20 OR (top

Re: Getting NullPointerException in an attempt to boost query result by date

2016-11-01 Thread Gintautas Sulskus
My bad. Thanks, Erik. Gin Best Wishes, Gintautas Sulskus On Tue, Nov 1, 2016 at 3:26 PM, Erik Hatcher wrote: > Now you're asking a dismax parser question. dismax does not support * or > *:* directly, but rather in q.alt if the query is empty. > >Erik > > > On Nov 1, 2016, at 11:15, Gintau

Re: Getting NullPointerException in an attempt to boost query result by date

2016-11-01 Thread Erik Hatcher
Now you're asking a dismax parser question. dismax does not support * or *:* directly, but rather in q.alt if the query is empty. Erik > On Nov 1, 2016, at 11:15, Gintautas Sulskus > wrote: > > I store date as Long: > > > positionIncrementGap="0"/> > > Eric, at first glance it seems

Re: Getting NullPointerException in an attempt to boost query result by date

2016-11-01 Thread Gintautas Sulskus
I store date as Long: Eric, at first glance it seems that your given advice to separate nested parsers worked. I can see the query in the logs and it returns the expected data. Thanks! Using the same opportunity: How do I set $term to match everything in qq={!dismax qf=‘….’ v=$term}, e.g. lik

Re: Getting NullPointerException in an attempt to boost query result by date

2016-11-01 Thread Erik Hatcher
What’s the field and type definition of submit_date? Could that be the issue? Also, one thing you could do is separate the nested parsers like this: q={!boost b=… v=$qq} qq={!dismax qf=‘….’ v=$term} Relying on `v` to be the string after the closing curly bracket is sometimes error-pro

Re: Getting NullPointerException in an attempt to boost query result by date

2016-11-01 Thread Gintautas Sulskus
31st October 2016 21:19 > > To: solr-user@lucene.apache.org > > Subject: Re: Getting NullPointerException in an attempt to boost query > result by date > > > > Hi Erik, > > > > I have defined the query as SearchHandler: > > > > > > > > >

RE: Getting NullPointerException in an attempt to boost query result by date

2016-10-31 Thread Markus Jelsma
ene.apache.org > Subject: Re: Getting NullPointerException in an attempt to boost query result > by date > > Hi Erik, > > I have defined the query as SearchHandler: > > >   > >   {!boost b=recip(ms(NOW/HOUR, submit_date),3.16e-11,1,1)} >  

Re: Getting NullPointerException in an attempt to boost query result by date

2016-10-31 Thread Gintautas Sulskus
Hi Erik, I have defined the query as SearchHandler: {!boost b=recip(ms(NOW/HOUR, submit_date),3.16e-11,1,1)} {!type=dismax qf='title^10 body^5 body^1' v=$term} The handler is then invoked with the following url: /solr/core/testSearch?term=apple The handler works i

Re: Getting NullPointerException in an attempt to boost query result by date

2016-10-31 Thread Erik Hatcher
how’d you set “$term” - the correct way would be &term=apple on the Solr request. > On Oct 31, 2016, at 2:07 PM, Gintautas Sulskus > wrote: > > Hi, > > I am trying to construct a timestamp-boosted query comprising two weighted > fields: "title" and "body": > > {!boost b=recip(ms(NOW/HOUR,su

Getting NullPointerException in an attempt to boost query result by date

2016-10-31 Thread Gintautas Sulskus
Hi, I am trying to construct a timestamp-boosted query comprising two weighted fields: "title" and "body": {!boost b=recip(ms(NOW/HOUR,submit_date),3.16e-11,1,1)} {!type=dismax qf='title^10 body^1' v=$term} $term=apple I expect the given example query provided above to search fields "title" and

Re: [MASSMAIL]Re: How to boost query based on result of subquery?

2016-02-20 Thread Jorge Luis Betancourt González
your ranking. Regards, - Mensaje original - De: "Edward P" Para: solr-user@lucene.apache.org Enviados: Sábado, 20 de Febrero 2016 17:56:52 Asunto: [MASSMAIL]Re: How to boost query based on result of subquery? Hi Rajesh, Thanks for the input but this does not directly address

Re: How to boost query based on result of subquery?

2016-02-20 Thread Edward P
Hi Rajesh, Thanks for the input but this does not directly address my problem. Currently I am not having an issue with loading the "position" values into my documents. They are indexed as regular fields with the rest of the document. It is a good tip about ExternalFileField. I might use that later

Re: How to boost query based on result of subquery?

2016-02-19 Thread Rajesh Hazari
Hi Ed, Did you look into ExternalFilefield type (for ex: with name :: position_external_field in your schema), which can be used to map to your field (for ex position, hope these are not changed very often) and then use position_external_field in your boost function. This can be used if you can

How to boost query based on result of subquery?

2016-02-19 Thread Edward P
Hello, I am using Solr 5.4.0, one collection, multiple shards with replication. Sample documents: { "item_id": "30d1e667", "date": "2014-01-01", "position": "5", "description": "automobile license plate holder" } { "item_id": "3cf18028", "date": "2013-01-01", "position": "23", "description": "din

Re: Boost query vs function query in edismax query

2016-01-19 Thread Chris Hostetter
: Boost Query (bq) accepts lucene queries. E.g. bq=price:[50 TO 100]^100 : boost and bf parameters accept Function queries, e.g. boost=log(popularity) while these statements are both true, they don't tell the full story. for example you can also specify a function as a query usin

Re: Boost query vs function query in edismax query

2016-01-19 Thread Ahmet Arslan
Hi Sara, Boost Query (bq) accepts lucene queries. E.g. bq=price:[50 TO 100]^100 boost and bf parameters accept Function queries, e.g. boost=log(popularity) Ahmet On Tuesday, January 19, 2016 12:41 PM, Binoy Dalal wrote: You use boost functions when you wish to perform certain operations

Re: Boost query vs function query in edismax query

2016-01-19 Thread Binoy Dalal
suri wrote: > Hi, > > Both the query affect solr scoring but for relevancy we use boost query as > we can provide additional weights to a boost query but not to a function > query. > > > > - > Regards > Shruti > -- > View this message in context: >

Re: Boost query vs function query in edismax query

2016-01-19 Thread shruti suri
Hi, Both the query affect solr scoring but for relevancy we use boost query as we can provide additional weights to a boost query but not to a function query. - Regards Shruti -- View this message in context: http://lucene.472066.n3.nabble.com/Boost-query-vs-function-query-in-edismax

Boost query vs function query in edismax query

2016-01-15 Thread sara hajili
Hi all as I underestood. Both of them are for affecting on relevence scoring.but u have more dominate on relevence scoring when using boosted query.is it true? I am willing to understand more about difference between 2. And know what is best situation for using each other? Tnx.

Re: Boost query at search time according set of roles with least performance impact

2015-11-16 Thread Alessandro Benedetti
> ehehe your request is kinda delicate : > > 1) I can't store the > > payload at index time > > 2) Passing all the weights at query time is not an option > > > > So you seem to exclude all the possible solutions ... > > Anyway, just thinking loud, have you

Re: Boost query at search time according set of roles with least performance impact

2015-11-13 Thread Andrea Open Source
ndex time > 2) Passing all the weights at query time is not an option > > So you seem to exclude all the possible solutions ... > Anyway, just thinking loud, have you tried the edismax query parser and the > boost query feature? > > 1) the first strategy is the one you would pref

Re: Boost query at search time according set of roles with least performance impact

2015-11-09 Thread Alessandro Benedetti
ehehe your request is kinda delicate : 1) I can't store the payload at index time 2) Passing all the weights at query time is not an option So you seem to exclude all the possible solutions ... Anyway, just thinking loud, have you tried the edismax query parser and the boost query featur

Boost query at search time according set of roles with least performance impact

2015-11-06 Thread Andrea Roggerone
Hi all, I am working on a mechanism that applies additional boosts to documents according to the role covered by the author. For instance we have CEO|5 Architect|3 Developer|1 TeamLeader|2 keeping in mind that an author could cover multiple roles (e.g. for a design document, a Team Leader could b

Re: Boost Query (bq) syntax/usage

2014-10-01 Thread shamik
Thanks a lot Jack, it makes total sense. I check the config and default q.op was set to OR, which was influencing the query. -- View this message in context: http://lucene.472066.n3.nabble.com/Boost-Query-bq-syntax-usage-tp4161989p4162169.html Sent from the Solr - User mailing list archive at

Re: Boost Query (bq) syntax/usage

2014-09-30 Thread Jack Krupansky
dismax and then specify edismax for bq using the localParam notation. -- Jack Krupansky -Original Message- From: Jack Krupansky Sent: Tuesday, September 30, 2014 8:19 PM To: solr-user@lucene.apache.org Subject: Re: Boost Query (bq) syntax/usage The "+" signs in the parsed b

Re: Boost Query (bq) syntax/usage

2014-09-30 Thread Jack Krupansky
The "+" signs in the parsed boost query indicated the terms were ANDed together, but maybe you can use the q.op and mm parameters to change the default operator (I forget!). -- Jack Krupansky -Original Message- From: shamik Sent: Tuesday, September 30, 2014 7:19 PM To:

Re: Boost Query (bq) syntax/usage

2014-09-30 Thread shamik
.n3.nabble.com/Boost-Query-bq-syntax-usage-tp4161989p4161994.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Boost Query (bq) syntax/usage

2014-09-30 Thread Jack Krupansky
nts that contain all three of the terms rather than any of the three terms. -- Jack Krupansky -Original Message- From: shamik Sent: Tuesday, September 30, 2014 5:38 PM To: solr-user@lucene.apache.org Subject: Boost Query (bq) syntax/usage Hi, I'm little confused with the right

Boost Query (bq) syntax/usage

2014-09-30 Thread Shamik Bandopadhyay
Hi, I'm little confused with the right syntax of defining boost queries. If I use them in the following way: http://localhost:8983/solr/testhandler?q=Application+Manager&bq=(Source2:sfdc^6 Source2:downloads^5 Source2:topics^3)&debugQuery=true it gets translated to --> +Source2:sfd

Boost Query (bq) syntax/usage

2014-09-30 Thread shamik
rce2:sfdc^6.0 Source2:downloads^5.0 Source2:topics^3.0 Both queries generate different result in terms of relevancy. Just wondering what is the right way of using bq ? -Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/Boost-Query-bq-syntax-usage-tp4161988.htm

Re: Boost query syntax error

2014-03-03 Thread Arun Rangarajan
All of them work like a charm! Thanks, Chris. On Mon, Mar 3, 2014 at 1:28 PM, Chris Hostetter wrote: > > : But this query does not work: > : > : q={!boost > : b=if(exists(query({!v='user_type:ADMIN'})),10,1)}id:1&rows=1&fl=*,score > : It gives an error like this: > > The problem is the way you a

Re: Boost query syntax error

2014-03-03 Thread Chris Hostetter
: But this query does not work: : : q={!boost : b=if(exists(query({!v='user_type:ADMIN'})),10,1)}id:1&rows=1&fl=*,score : It gives an error like this: The problem is the way you are trying to nest queries inside of each other w/o any sort of quoting -- the parser has no indication that the "b"

Boost query syntax error

2014-02-28 Thread Arun Rangarajan
The Solr function query documentation ( https://wiki.apache.org/solr/FunctionQuery#exists) says: exists(query({!v='year:2012'})) will return true for docs with year=2012 I have a document like: { id: 1, user_type: ADMIN, like_score: 1 } id, user_type and like_score are all indexed and stor

Re: Boost Query Example

2014-02-18 Thread Amit Jha
gy.com] > Sent: Tuesday, February 18, 2014 9:58 AM > To: solr-user@lucene.apache.org > Subject: Re: Boost Query Example > > Add debugQuery=true to your queries and look at the scoring in the "explain" > section. From the intermediate scoring by field, you should be ab

RE: Boost Query Example

2014-02-18 Thread EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions)
al Message- From: EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions) Sent: Tuesday, February 18, 2014 9:50 AM To: solr-user@lucene.apache.org ; michael.della.bi...@appinions.com Subject: RE: Boost Query Example Hi Michael, Thanks for the information. Now I am trying with the query , bu

Re: Boost Query Example

2014-02-18 Thread Jack Krupansky
From: EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions) Sent: Tuesday, February 18, 2014 9:50 AM To: solr-user@lucene.apache.org ; michael.della.bi...@appinions.com Subject: RE: Boost Query Example Hi Michael, Thanks for the information. Now I am trying with the query , but I am n

RE: Boost Query Example

2014-02-18 Thread EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions)
ache.org Subject: Re: Boost Query Example Hi, Filter queries don't affect score, so boosting won't have an effect there. If you want those query terms to get boosted, move them into the q parameter. http://wiki.apache.org/solr/CommonQueryParameters#fq Hope that helps! Michael Della B

Re: Boost Query Example

2014-02-17 Thread Michael Della Bitta
Hi, Filter queries don't affect score, so boosting won't have an effect there. If you want those query terms to get boosted, move them into the q parameter. http://wiki.apache.org/solr/CommonQueryParameters#fq Hope that helps! Michael Della Bitta Applications Developer o: +1 646 532 3062 app

Boost Query Example

2014-02-17 Thread EXTERNAL Taminidi Ravi (ETI, Automotive-Service-Solutions)
Hi can some one help me on the Boost & Sort query example. http://localhost:8983/solr/ ProductCollection/select?q=*%3A*&wt=json&indent=true&fq=SKU:223-CL10V3^100 OR SKU:223-CL1^90 There is not different in the query Order, Let me know if I am missing something. Also I like to Order with the e

RE: Boost query parameter with Lucid parser and using query FunctionQuery

2013-03-23 Thread Miller, Will Jr
final boost query will be. For now I will try to avoid using dismax and will continue to play around with it. Thanks again, Will -Original Message- From: Jan Høydahl [mailto:jan@cominvent.com] Sent: Saturday, March 23, 2013 7:51 PM To: solr-user@lucene.apache.org Subject: Re: Boost

Re: Boost query parameter with Lucid parser and using query FunctionQuery

2013-03-23 Thread Jan Høydahl
grant,institution,investigator,investigatoraffiliation,keywordheading,keywords,nlmjournalname,origtitle,otherabstract,personname,primaryauthor,protocolconcept,spaceflight,substance,title > product(10,query({!dismax qf="title" > v="treatment"},0)) > true >

RE: Boost query parameter with Lucid parser and using query FunctionQuery

2013-03-22 Thread Miller, Will Jr
013 8:07 PM To: solr-user@lucene.apache.org Subject: Re: Boost query parameter with Lucid parser and using query FunctionQuery Why would you use dismax for the query() when you want to match a simple term to one field? If you share &echoParams=all the answer may lie somewhere therein? -- Jan

Re: Boost query parameter with Lucid parser and using query FunctionQuery

2013-03-22 Thread Jan Høydahl
0:07 skrev "Miller, Will Jr" : > I have been playing around with the bq/bf/boost query parameters available in > dismax/edismax. I am using the Lucid parser as my default parser for the > query. The lucid parser is an extension of the DisMax parser and should > contain ev

Re: Boost query parameter with Lucid parser and using query FunctionQuery

2013-03-22 Thread Jack Krupansky
Subject: Boost query parameter with Lucid parser and using query FunctionQuery I have been playing around with the bq/bf/boost query parameters available in dismax/edismax. I am using the Lucid parser as my default parser for the query. The lucid parser is an extension of the DisMax parser and

Boost query parameter with Lucid parser and using query FunctionQuery

2013-03-22 Thread Miller, Will Jr
I have been playing around with the bq/bf/boost query parameters available in dismax/edismax. I am using the Lucid parser as my default parser for the query. The lucid parser is an extension of the DisMax parser and should contain everything that is available in that parser. My goal is boost

Re: how to boost query term after tokenizer

2012-10-17 Thread dirk
.472066.n3.nabble.com/how-to-boost-query-term-after-tokenizer-tp4010889p4014245.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: how to boost query term after tokenizer

2012-10-06 Thread 曹霖
thank you . Hoss Tokenization is not a problem in english,but in some other languages like chinese, there are no space to seperate each term in article.Lt is a long string like this “AABCDAEFSABS”,in which “AA” and "BCD" ...represent a meaningful term ,so l want to boost some special and meaningful

Re: how to boost query term after tokenizer

2012-10-03 Thread Chris Hostetter
: if the query word is "ABCD",then after being tokenized it is "A" "BC" "D" , : l want to boost term "BC" ,so the query word is like this: "A BC^10 D" and : phrase query "ABCD" . all query words users typing in will be processed : like that automaticly. it's not really clear from your example how

how to boost query term after tokenizer

2012-09-28 Thread 曹霖
if the query word is "ABCD",then after being tokenized it is "A" "BC" "D" , l want to boost term "BC" ,so the query word is like this: "A BC^10 D" and phrase query "ABCD" . all query words users typing in will be processed like that automaticly. l guess l can custom a filter to do it ,but l don't k

how to boost query term after tokenizer

2012-09-28 Thread 曹霖
if the query word is "ABCD",then after being tokenized it is "A" "BC" "D" , l want to boost term "BC" ,so the query word is like this: "A BC^10 D" and phrase query "ABCD" . all query words users typing in will be processed like that automaticly. l guess l can custom a filter to do it ,but l don't k

Re: Boost Query in Edismax

2011-12-08 Thread John
I tried that, didn't seem to affect anything. I think it only works between fields and not within a field. On Thu, Dec 8, 2011 at 10:00 AM, Marc SCHNEIDER wrote: > Hi, > > Maybe you could have a look at this : > http://wiki.apache.org/solr/DisMaxQParserPlugin#tie_.28Tie_breaker.29 > > Marc. > > O

Re: Boost Query in Edismax

2011-12-08 Thread Marc SCHNEIDER
Hi, Maybe you could have a look at this : http://wiki.apache.org/solr/DisMaxQParserPlugin#tie_.28Tie_breaker.29 Marc. On Wed, Dec 7, 2011 at 5:48 PM, John wrote: > I have a complex edismax query: > > > facet=true&facet.mincount=0&qf=title^0.08+categorysearch^0.05+abstract^0.03+body^0.1&wt=java

Boost Query in Edismax

2011-12-07 Thread John
I have a complex edismax query: facet=true&facet.mincount=0&qf=title^0.08+categorysearch^0.05+abstract^0.03+body^0.1&wt=javabin&rows=25&defType=edismax&version=2&omitHeader=true&fl=*,score&bq=eqid:(3yp^1.57+OR+5fi^1.55+OR+c1s^1.55+OR+3ym^1.55+OR+gjz^1.55...)&start=0&q=*:*&facet.field=category&face

Re: dismax "boost query" not useful?

2011-04-10 Thread Chris Hostetter
: 1. Each piece is still subject to the IDF component of the score, : requiring me to make each individual category have a boost factoring : that in. For example, if I want meta:promote to be twice as boosted as : category:featured, I can't simply boost the first to 2 and the second to : 1 (t

Re: dismax "boost query" not useful?

2011-04-06 Thread Smiley, David W.
On Apr 5, 2011, at 3:17 PM, Chris Hostetter wrote: > one of the original use cases for bq was for artificial keyword boosting, > in which case it still comes in handy... > > bq=meta:promote^100 text:new^10 category:featured^100 (*:* > -category:accessories)^10 Yeah I thought of this specific

Re: dismax "boost query" not useful?

2011-04-06 Thread Yonik Seeley
On Wed, Apr 6, 2011 at 12:00 PM, Shawn Heisey wrote: > We aren't yet using dismax in production, but I've had it in my config for a > while now.  I've changed it to edismax in the 3.1 setup I'm putting together > now.  It has the following in the bf parameter: > > recip(ms(NOW/DAY,pd),3.16e-11,1,1

Re: dismax "boost query" not useful?

2011-04-06 Thread Shawn Heisey
On 4/5/2011 1:17 PM, Chris Hostetter wrote: the "boost" param of edismax is probably a lot better choice then either bq/bf -- but it really depends on wether you want an additive boost or a multiplicitive one (of course with teh function query syntax add(), product() and (query() can be combined

Re: dismax "boost query" not useful?

2011-04-05 Thread Chris Hostetter
-function query : (i.e. use the lucene query parser). one of the original use cases for bq was for artificial keyword boosting, in which case it still comes in handy... bq=meta:promote^100 text:new^10 category:featured^100 (*:* -category:accessories)^10 : Also, you can basically get the same af

dismax "boost query" not useful?

2011-04-04 Thread Smiley, David W.
As I was reviewing the boosting capabilities of the dismax & edismax query parsers, it's not clear to me that the "boost query" has much use. The value of boost functions, particularly with a multiplied boost that edismax supports, is very clear -- there are a variety of

Re: how to run boost query for non-dismax query parser

2011-03-24 Thread cyang2010
lucene/solr parser is able to parse prefix query. Is the intended usage with dismax parser? -- View this message in context: http://lucene.472066.n3.nabble.com/how-to-run-boost-query-for-non-dismax-query-parser-tp2723442p2727566.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: how to run boost query for non-dismax query parser

2011-03-24 Thread Ahmet Arslan
> Thanks for your reply.  yeah, an additional query with > the boost value will > work. > > However, I just wonder where you get the information that > BoostQParserPlugin > only handles function query? > > I looked up the javadoc, and still can't get that.  > This is the javadoc. > > > Create a

Re: how to run boost query for non-dismax query parser

2011-03-24 Thread cyang2010
p://lucene.472066.n3.nabble.com/how-to-run-boost-query-for-non-dismax-query-parser-tp2723442p2726422.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: how to run boost query for non-dismax query parser

2011-03-24 Thread Ahmet Arslan
> I need to code some boosting logic when some field equal to > some value.   I > was able to get it work if using dismax query parser.  > However, since the > solr query will need to handle prefix or fuzzy query, > therefore, dismax > query parser is not really my choice.  > > Therefore, i want

Re: Why boost query not working?

2011-03-24 Thread Ahmet Arslan
2.2&start=0&rows=10&fl=*%2Cscore&wt=standard&defType=dismax&qf=title_name_en_US&q=*%3A*&bq=genres%3A56^100&debugQuery=on > > > But from debug i can tell it confuse the boost query > parameter as part of > query string: > > lst name="debug&qu

how to run boost query for non-dismax query parser

2011-03-23 Thread cyang2010
g the instruction on this page although the instruction there is really to implement a boost function, instead of boosting query. http://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_boost_the_score_of_newer_documents Thanks for your help, cy -- View this message in context: http://lucene.472

Why boost query not working?

2011-03-23 Thread cyang2010
smax&qf=title_name_en_US&q=*%3A*&bq=genres%3A56^100&debugQuery=on But from debug i can tell it confuse the boost query parameter as part of query string: lst name="debug"> str name="rawquerystring">*:* str name="querystring">*:* str name=&qu

Can I use an ExternalFileField as an input to a boost query?

2010-08-27 Thread Andy
I have a field "popularity" that is changing frequently. So I'd like to put it in an ExternalFileField. If I do that, can I still use "popularity" in a boosted query such as: {!boost b=log(popularity)}foo Thanks.

Re: query parser for boost query text

2010-05-24 Thread Chris Hostetter
: Special characters in the text used for boost queries are not removed. For : example, bq=field1:(what is xyz?)^10 gets parsed into query field1:xyz?10 : (what and is are stop words). Question mark didn't get removed -- field1 : uses standard tokenizer and standard filter, so I expect it to get r

query parser for boost query text

2010-05-11 Thread Satish Kumar
Hi, Special characters in the text used for boost queries are not removed. For example, bq=field1:(what is xyz?)^10 gets parsed into query field1:xyz?10 (what and is are stop words). Question mark didn't get removed -- field1 uses standard tokenizer and standard filter, so I expect it to get remov

Re: Impossible Boost Query?

2010-03-25 Thread Geert-Jan Brits
iew this message in context: > http://n3.nabble.com/Impossible-Boost-Query-tp472080p580214.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Re: Impossible Boost Query?

2010-03-25 Thread Blargy
Ok so this is basically just a random sort. Anyway I can get this to randomly sort documents that closely related and not the rest of the results? -- View this message in context: http://n3.nabble.com/Impossible-Boost-Query-tp472080p580214.html Sent from the Solr - User mailing list archive at

Re: Impossible Boost Query?

2010-03-25 Thread Lance Norskog
; Any instructions would be greatly appreciated. Thanks >>>> >>>> >>>> Otis Gospodnetic wrote: >>>>> >>>>> You'd likely want to get the latest patch and trunk and try applying. >>>>> >>>>

Re: Impossible Boost Query?

2010-03-24 Thread blargy
gt;> >>> >>> Otis Gospodnetic wrote: >>>> >>>> You'd likely want to get the latest patch and trunk and try applying. >>>> >>>> Otis >>>> >>>> Sematext :: http://sematext.com/ :: Solr - Lucene - N

Re: Impossible Boost Query?

2010-03-23 Thread Lance Norskog
nk and try applying. >>> >>> Otis >>> >>> Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch >>> Hadoop ecosystem search :: http://search-hadoop.com/ >>> >>> >>> >>> - Original Message >>>>

Re: Impossible Boost Query?

2010-03-23 Thread Lance Norskog
- Original Message >>> From: blargy >>> To: solr-user@lucene.apache.org >>> Sent: Tue, March 23, 2010 6:10:22 PM >>> Subject: Re: Impossible Boost Query? >>> >>> >> Maybe a better question is... how can I install this and will it work &

Re: Impossible Boost Query?

2010-03-23 Thread blargy
apache.org >> Sent: Tue, March 23, 2010 6:10:22 PM >> Subject: Re: Impossible Boost Query? >> >> > Maybe a better question is... how can I install this and will it work >> with > 1.4? > > Thanks > > > blargy wrote: >> >> Pos

Re: Impossible Boost Query?

2010-03-23 Thread Otis Gospodnetic
Tue, March 23, 2010 6:10:22 PM > Subject: Re: Impossible Boost Query? > > Maybe a better question is... how can I install this and will it work > with 1.4? Thanks blargy wrote: > > Possibly. > How can I install this as a contrib or do I need to actually > perform the &

Re: Impossible Boost Query?

2010-03-23 Thread blargy
;> To: solr-user@lucene.apache.org >>> Sent: Tue, March 23, 2010 2:39:48 PM >>> Subject: Impossible Boost Query? >>> >>> >> I was wondering if this is even possible. I'll try to explain what I'm >>> trying >> to do to the best of

Re: Impossible Boost Query?

2010-03-23 Thread blargy
arch :: http://search-hadoop.com/ > > > > - Original Message >> From: blargy >> To: solr-user@lucene.apache.org >> Sent: Tue, March 23, 2010 2:39:48 PM >> Subject: Impossible Boost Query? >> >> > I was wondering if this is even pos

Re: Impossible Boost Query?

2010-03-23 Thread Otis Gospodnetic
:39:48 PM > Subject: Impossible Boost Query? > > I was wondering if this is even possible. I'll try to explain what I'm > trying to do to the best of my ability. Ok, so our site has a bunch > of products that are sold by any number of sellers. Currently when I search

Impossible Boost Query?

2010-03-23 Thread blargy
lts across sellers (given each seller a fair shot to sell their goods). Is there any way to add some boost query for example that will start weighing products lower when their seller has already been listed a few times. For example, right now I have Product foo by Seller A Product foo by Seller A Prod

Re: index-time boost ... query

2009-11-20 Thread Lance Norskog
No, the reverse is true. Sorting is very very fast in Lucene. The first sort operation spends a lot of time making a data structure and then following sort calls use it. On Thu, Nov 19, 2009 at 1:52 PM, Anil Cherian wrote: > Hi David, > > I just now tried a sorting on the results and I got the re

Re: index-time boost ... query

2009-11-19 Thread Anil Cherian
Hi David, I just now tried a sorting on the results and I got the records with latest approval_dt first. My question now is will index-time boosting method increase the response. ie will I be able to acheive the same thing i achieved using sorting much faster if i use index-time boosting. If you

Re: index-time boost ... query

2009-11-19 Thread Anil Cherian
Hi David, Thank you for the mail. It seems you are right.sorting might solve the issue as it is not giving any special weightage to any record other than its approval_dt is the latest one.. I think i am convinced for now. I am eagerly waiting for your book around thanks giving so taht i can

  1   2   >