Re: "editorialMarkerFieldName"

2018-02-13 Thread Emir Arnautović
Hi Chris,
Guessing here but this feature might be introduced in case you have use (have 
to use) ‘elevated’ field in your schema for some other purpose. Maybe if field 
name was “_elevated_", then it would be redundant.

Emir

--
Monitoring - Log Management - Alerting - Anomaly Detection
Solr & Elasticsearch Consulting Support Training - http://sematext.com/



> On 12 Feb 2018, at 22:44, Chris Hostetter <hossman_luc...@fucit.org> wrote:
> 
> 
> IIUC the "editorialMarkerFieldName" config option is a bit missleading.
> 
> Configuring that doesn't automatically add a field w/that name to your 
> docs to indicate which of them have been elevated -- all it does is 
> provide an *override* for what name can be used to refer to the 
> "[elevated]" DocTransformer.
> 
> So by default you can do something like this...
> 
>   q=ipod=text=id,[elevated]
> 
> ...but if you have foo in 
> your searchComponent config, then instead of "[elevated]" you would have 
> to say...
> 
>q=ipod=text=id,[foo]
> 
> ...to get the same info.
> 
> It's a very weird and silly feature -- i honestly can't give you 
> any good explaination as towhy it was implemented that way.
> 
> 
> 
> : Date: Mon, 5 Feb 2018 04:12:27 +
> : From: Sadiki Latty <sla...@uottawa.ca>
> : Reply-To: solr-user@lucene.apache.org
> : To: "solr-user@lucene.apache.org" <solr-user@lucene.apache.org>
> : Subject: "editorialMarkerFieldName"
> : 
> : Hello
> : 
> : I have added the "editorialMarkerFieldName" to my search component but 
> nothing happens. Am I missing something in my configuration? I have confirmed 
> that the elevation aspect is working as it should. The documents in the 
> 'elevate.xml' are being elevated so the component is being read, but 
> specifically that parameter does not seem to change the result. I have a 
> configuration similar to the one below (copied from the guide) and I have the 
> elevator str in my 'last-components' section of my request handler.
> : 
> : 
> :   
> :   string
> :   elevate.xml
> :  foo
> : 
> : 
> : 
> : Am I misunderstanding the purpose of this parameter? Isnt it supposed to 
> distinguish the elevated results from the normal results with the given 
> string?
> : 
> : I am using Solr 7.1.0 btw
> : 
> : Thanks in advance,
> : 
> : Sid
> : 
> 
> -Hoss
> http://www.lucidworks.com/



Re: "editorialMarkerFieldName"

2018-02-12 Thread Sadiki Latty
Thanks Chris, 

my colleague discovered this on Friday and shared it with me. Thanks for 
getting back to me.

Sent from my iPhone

> On Feb 12, 2018, at 5:13 PM, Chris Hostetter <hossman_luc...@fucit.org> wrote:
> 
> 
> https://issues.apache.org/jira/browse/SOLR-11977
> 
> : Date: Mon, 12 Feb 2018 14:44:34 -0700 (MST)
> : From: Chris Hostetter <hossman_luc...@fucit.org>
> : To: "solr-user@lucene.apache.org" <solr-user@lucene.apache.org>
> : Subject: Re: "editorialMarkerFieldName"
> : 
> : 
> : IIUC the "editorialMarkerFieldName" config option is a bit missleading.
> : 
> : Configuring that doesn't automatically add a field w/that name to your 
> : docs to indicate which of them have been elevated -- all it does is 
> : provide an *override* for what name can be used to refer to the 
> : "[elevated]" DocTransformer.
> : 
> : So by default you can do something like this...
> : 
> :q=ipod=text=id,[elevated]
> : 
> : ...but if you have foo in 
> : your searchComponent config, then instead of "[elevated]" you would have 
> : to say...
> : 
> : q=ipod=text=id,[foo]
> : 
> : ...to get the same info.
> : 
> : It's a very weird and silly feature -- i honestly can't give you 
> : any good explaination as towhy it was implemented that way.
> : 
> : 
> : 
> : : Date: Mon, 5 Feb 2018 04:12:27 +
> : : From: Sadiki Latty <sla...@uottawa.ca>
> : : Reply-To: solr-user@lucene.apache.org
> : : To: "solr-user@lucene.apache.org" <solr-user@lucene.apache.org>
> : : Subject: "editorialMarkerFieldName"
> : : 
> : : Hello
> : : 
> : : I have added the "editorialMarkerFieldName" to my search component but 
> nothing happens. Am I missing something in my configuration? I have confirmed 
> that the elevation aspect is working as it should. The documents in the 
> 'elevate.xml' are being elevated so the component is being read, but 
> specifically that parameter does not seem to change the result. I have a 
> configuration similar to the one below (copied from the guide) and I have the 
> elevator str in my 'last-components' section of my request handler.
> : : 
> : : 
> : :   
> : :   string
> : :   elevate.xml
> : :  foo
> : : 
> : : 
> : : 
> : : Am I misunderstanding the purpose of this parameter? Isnt it supposed to 
> distinguish the elevated results from the normal results with the given 
> string?
> : : 
> : : I am using Solr 7.1.0 btw
> : : 
> : : Thanks in advance,
> : : 
> : : Sid
> : : 
> : 
> : -Hoss
> : http://www.lucidworks.com/
> : 
> 
> -Hoss
> http://www.lucidworks.com/


Re: "editorialMarkerFieldName"

2018-02-12 Thread Chris Hostetter

https://issues.apache.org/jira/browse/SOLR-11977

: Date: Mon, 12 Feb 2018 14:44:34 -0700 (MST)
: From: Chris Hostetter <hossman_luc...@fucit.org>
: To: "solr-user@lucene.apache.org" <solr-user@lucene.apache.org>
: Subject: Re: "editorialMarkerFieldName"
: 
: 
: IIUC the "editorialMarkerFieldName" config option is a bit missleading.
: 
: Configuring that doesn't automatically add a field w/that name to your 
: docs to indicate which of them have been elevated -- all it does is 
: provide an *override* for what name can be used to refer to the 
: "[elevated]" DocTransformer.
: 
: So by default you can do something like this...
: 
:   q=ipod=text=id,[elevated]
: 
: ...but if you have foo in 
: your searchComponent config, then instead of "[elevated]" you would have 
: to say...
: 
: q=ipod=text=id,[foo]
: 
: ...to get the same info.
: 
: It's a very weird and silly feature -- i honestly can't give you 
: any good explaination as towhy it was implemented that way.
: 
: 
: 
: : Date: Mon, 5 Feb 2018 04:12:27 +
: : From: Sadiki Latty <sla...@uottawa.ca>
: : Reply-To: solr-user@lucene.apache.org
: : To: "solr-user@lucene.apache.org" <solr-user@lucene.apache.org>
: : Subject: "editorialMarkerFieldName"
: : 
: : Hello
: : 
: : I have added the "editorialMarkerFieldName" to my search component but 
nothing happens. Am I missing something in my configuration? I have confirmed 
that the elevation aspect is working as it should. The documents in the 
'elevate.xml' are being elevated so the component is being read, but 
specifically that parameter does not seem to change the result. I have a 
configuration similar to the one below (copied from the guide) and I have the 
elevator str in my 'last-components' section of my request handler.
: : 
: : 
: :   
: :   string
: :   elevate.xml
: :  foo
: : 
: : 
: : 
: : Am I misunderstanding the purpose of this parameter? Isnt it supposed to 
distinguish the elevated results from the normal results with the given string?
: : 
: : I am using Solr 7.1.0 btw
: : 
: : Thanks in advance,
: : 
: : Sid
: : 
: 
: -Hoss
: http://www.lucidworks.com/
: 

-Hoss
http://www.lucidworks.com/


Re: "editorialMarkerFieldName"

2018-02-12 Thread Chris Hostetter

IIUC the "editorialMarkerFieldName" config option is a bit missleading.

Configuring that doesn't automatically add a field w/that name to your 
docs to indicate which of them have been elevated -- all it does is 
provide an *override* for what name can be used to refer to the 
"[elevated]" DocTransformer.

So by default you can do something like this...

q=ipod=text=id,[elevated]

...but if you have foo in 
your searchComponent config, then instead of "[elevated]" you would have 
to say...

q=ipod=text=id,[foo]

...to get the same info.

It's a very weird and silly feature -- i honestly can't give you 
any good explaination as towhy it was implemented that way.



: Date: Mon, 5 Feb 2018 04:12:27 +
: From: Sadiki Latty <sla...@uottawa.ca>
: Reply-To: solr-user@lucene.apache.org
: To: "solr-user@lucene.apache.org" <solr-user@lucene.apache.org>
: Subject: "editorialMarkerFieldName"
: 
: Hello
: 
: I have added the "editorialMarkerFieldName" to my search component but 
nothing happens. Am I missing something in my configuration? I have confirmed 
that the elevation aspect is working as it should. The documents in the 
'elevate.xml' are being elevated so the component is being read, but 
specifically that parameter does not seem to change the result. I have a 
configuration similar to the one below (copied from the guide) and I have the 
elevator str in my 'last-components' section of my request handler.
: 
: 
:   
:   string
:   elevate.xml
:  foo
: 
: 
: 
: Am I misunderstanding the purpose of this parameter? Isnt it supposed to 
distinguish the elevated results from the normal results with the given string?
: 
: I am using Solr 7.1.0 btw
: 
: Thanks in advance,
: 
: Sid
: 

-Hoss
http://www.lucidworks.com/


RE: "editorialMarkerFieldName"

2018-02-06 Thread Sadiki Latty
Bumping this question up.  Is anyone familiar with how the 
'editorialMarkerFieldName' parameter works?

Am I doing something wrong?


-Original Message-
From: Sadiki Latty [mailto:sla...@uottawa.ca] 
Sent: February-04-18 11:12 PM
To: solr-user@lucene.apache.org
Subject: "editorialMarkerFieldName" 

Hello

I have added the "editorialMarkerFieldName" to my search component but nothing 
happens. Am I missing something in my configuration? I have confirmed that the 
elevation aspect is working as it should. The documents in the 'elevate.xml' 
are being elevated so the component is being read, but specifically that 
parameter does not seem to change the result. I have a configuration similar to 
the one below (copied from the guide) and I have the elevator str in my 
'last-components' section of my request handler.


  
  string
  elevate.xml
 foo



Am I misunderstanding the purpose of this parameter? Isnt it supposed to 
distinguish the elevated results from the normal results with the given string?

I am using Solr 7.1.0 btw

Thanks in advance,

Sid


"editorialMarkerFieldName"

2018-02-04 Thread Sadiki Latty
Hello

I have added the "editorialMarkerFieldName" to my search component but nothing 
happens. Am I missing something in my configuration? I have confirmed that the 
elevation aspect is working as it should. The documents in the 'elevate.xml' 
are being elevated so the component is being read, but specifically that 
parameter does not seem to change the result. I have a configuration similar to 
the one below (copied from the guide) and I have the elevator str in my 
'last-components' section of my request handler.


  
  string
  elevate.xml
 foo



Am I misunderstanding the purpose of this parameter? Isnt it supposed to 
distinguish the elevated results from the normal results with the given string?

I am using Solr 7.1.0 btw

Thanks in advance,

Sid