The problem with what you provided is it is boosting ALL documents whether
the field is empty or not
On Tue, May 15, 2012 at 3:52 AM, Ahmet Arslan iori...@yahoo.com wrote:
Basically I want documents that have a given field populated
to have a
higher score than the documents that dont.
I have figured it out using your recommendation...I just had to give it a
high enough boost.
BTW its a float field
On Tue, May 15, 2012 at 9:21 AM, Ahmet Arslan iori...@yahoo.com wrote:
The problem with what you provided is
it is boosting ALL documents whether
the field is empty or
str name=codebhl-ltab-30/str
/doc
On Tue, May 15, 2012 at 12:40 PM, Donald Organ dor...@donaldorgan.comwrote:
I have figured it out using your recommendation...I just had to give it a
high enough boost.
BTW its a float field
On Tue, May 15, 2012 at 9:21 AM, Ahmet Arslan iori
If the bq is only supposed apply the boost when the field value is greater
than 0.01 why would trying another query make sure this is working.
Its applying the boost to all the fields, yes when the boost is high enough
most of documents with a value GT 0.01 show up first however since it is
Is there a way to boost a document based on whether the field is empty or
not. I am looking to boost documents that have a specific field populated.
- From: Donald Organ
Sent: Monday, May 14, 2012 2:10 PM
To: solr-user
Subject: Boosting on field empty or not
Is there a way to boost a document based on whether the field is empty or
not. I am looking to boost documents that have a specific field
populated.
does not have anything in the field, de-boost it. Choose the boost factors
to suit your desired boosting effect.
-- Jack Krupansky
-Original Message- From: Donald Organ
Sent: Monday, May 14, 2012 2:38 PM
To: solr-user@lucene.apache.org
Subject: Re: Boosting on field empty
that you second boost operator was missing as well.
-- Jack Krupansky
-Original Message- From: Donald Organ
Sent: Monday, May 14, 2012 3:24 PM
To: solr-user@lucene.apache.org
Subject: Re: Boosting on field empty or not
OK i just tried:
q=chairs AND (regularprice:*^5 OR (-regularprice
)sort=score desc
On Mon, May 14, 2012 at 3:36 PM, Jack Krupansky j...@basetechnology.comwrote:
(*:* -regularprice:*)5 should be (*:* -regularprice:*)^0.5 - the
missing boost operator.
-- Jack Krupansky
-Original Message- From: Donald Organ
Sent: Monday, May 14, 2012 3:31 PM
To: solr
OK it looks like the query change is working but it looks like it boosting
everything even documents that have that field empty
On Mon, May 14, 2012 at 3:41 PM, Donald Organ dor...@donaldorgan.comwrote:
OK i must be missing something:
defType=edismaxstart=0rows=24facet=trueqf=nameSuggest
-Original Message- From: Donald Organ
Sent: Monday, May 14, 2012 4:01 PM
To: solr-user@lucene.apache.org
Subject: Re: Boosting on field empty or not
OK it looks like the query change is working but it looks like it boosting
everything even documents that have that field empty
I've even tried upping the boost to 10 and the de-boost to 1but yet its
still applying the boost to all the documents returned. So it matter if
this is a money field?
On Mon, May 14, 2012 at 4:19 PM, Donald Organ dor...@donaldorgan.comwrote:
q=chairs AND (regularprice:*^5
OK i think i found the proper way to do what i was trying to do:
q=chairs AND (regularprice:[0 TO *]^5)
On Mon, May 14, 2012 at 4:25 PM, Donald Organ dor...@donaldorgan.comwrote:
I've even tried upping the boost to 10 and the de-boost to 1but yet
its still applying the boost to all
OK thats giving me only documents that have the field populated
On Mon, May 14, 2012 at 4:28 PM, Donald Organ dor...@donaldorgan.comwrote:
OK i think i found the proper way to do what i was trying to do:
q=chairs AND (regularprice:[0 TO *]^5)
On Mon, May 14, 2012 at 4:25 PM, Donald Organ
Is there a way to boost documents based on the search term/phrase?
://wiki.apache.org/solr/QueryElevationComponent
And besides explicit boosting by the user (the ^ suffix operator after a
term/phrase)?
-- Jack Krupansky
-Original Message- From: Donald Organ
Sent: Tuesday, May 01, 2012 3:59 PM
To: solr-user
Subject: Boosting documents based on search
Perfect, this is working well.
On Tue, May 1, 2012 at 5:33 PM, Jeevanandam je...@myjeeva.com wrote:
Yes, you can add in last-components section on default query handler.
arr name=last-components
strelevator/str
/arr
- Jeevanandam
On 02-05-2012 3:53 am, Donald Organ wrote:
query
Are there any reporting tools out there? So I can analyzer search term
frequency, filter frequency, etc?
Right now i am doing the following:
qf=name^1.75 codeTXT^1.75 cat_search^1.5 description^0.8 brand^5.0
cat_search^0.8
fl=code,score
defType=dismax
q=whitney brothers carts
if i change it to the following then i get results:
qf=name^1.75 codeTXT^1.75 cat_search^1.5
Simply your collection does contain a doc having all these three terms?
Try different mm values.
http://wiki.apache.org/solr/DisMaxQParserPlugin#mm_.28Minimum_.27Should.27_Match.29
Would this also be affected if one of the fields that contains that term is
a defined as solr.StrField
Would this also be affected if one of the fields that
contains that term is
a defined as solr.StrField where as
most of the other fields are defined
as solr.TextField?
It could be. string fields are not analyzed. For example, one whitespace
can prevent match. Cards and cards wont
Hi Donald,
Try to remove tokenizerFactory=**KeywordTokenizerFactory in your
synonym filter
definition because I think you would want to tokenize the synonym settings
in
synonyms.txt as floor / locker = storage / locker. But if you set
it
to KeywordTokenizer, it will be a map of floor
No I do synonyms at index time.
On Monday, March 5, 2012, Koji Sekiguchi k...@r.email.ne.jp wrote:
(12/03/06 0:11), Donald Organ wrote:
Try to remove tokenizerFactory=**KeywordTokenizerFactory in your
synonym filter
definition because I think you would want to tokenize the synonym
settings
Ok so do I need to use a different format in my synonyms.txt file in order
to do this at index time?
On Monday, March 5, 2012, Koji Sekiguchi k...@r.email.ne.jp wrote:
(12/03/06 11:07), Donald Organ wrote:
No I do synonyms at index time.
:
I am still getting results for storage locker
Excellent thank you, it is now working!
On Mon, Mar 5, 2012 at 9:37 PM, Koji Sekiguchi k...@r.email.ne.jp wrote:
(12/03/06 11:23), Donald Organ wrote:
Ok so do I need to use a different format in my synonyms.txt file in order
to do this at index time?
Right, if you want to apply synonym
I am trying to get synonyms working correctly, I want to map floor locker
tostorage locker
currently searching for storage locker produces results were as searching
for floor locker does not produce any results.
I have the following setup for index time synonyms:
fieldType name=text
I am trying to get the IndexBasedSpellChecker to work. I believe I have
everything setup properly and the spellcheck component seems to be running
but the suggestions list is empty.
I am using SOLR 3.5 with Jetty.
My solrconfig.xml and schema.xml are as follows:
solrconfig.xml:
the
dictionary (for intance, by using thresholdTokenFrequency)
James Dyer
E-Commerce Systems
Ingram Content Group
(615) 213-4311
-Original Message-
From: Donald Organ [mailto:dor...@donaldorgan.com]
Sent: Tuesday, January 10, 2012 1:26 PM
To: solr-user@lucene.apache.org
Subject: SpellCheck
When you go to /solr what do you see?
On Tue, Aug 16, 2011 at 5:23 PM, David Sauve dnsa...@gmail.com wrote:
I updated my `solr.xml` as follow:
?xml version=1.0 encoding=UTF-8 ?
solr persistent=false
cores adminPath=/admin/cores defaultCoreName=live
core name=preview
29 matches
Mail list logo