[jira] [Comment Edited] (SOLR-14194) Allow Highlighting to work for indexes with uniqueKey that is not stored

2020-02-09 Thread Andrzej Wislowski (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-14194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17033403#comment-17033403
 ] 

Andrzej Wislowski edited comment on SOLR-14194 at 2/10/20 6:58 AM:
---

[~dsmiley], I have added to: HighlighterWithoutStoredIdTest

method to clear system properties 

 
{code:java}
+ @AfterClass 
+ public static void afterClass() { 
+System.clearProperty("solr.tests.id.stored"); 
+System.clearProperty("solr.tests.id.docValues"); 
+ } {code}


was (Author: awislowski):
[~dsmiley], I have added to: HighlighterWithoutStoredIdTest

method to clear system properties 

 

+ @AfterClass
+ public static void afterClass() {
+ System.clearProperty("solr.tests.id.stored");
+ System.clearProperty("solr.tests.id.docValues");
+ }

 

> Allow Highlighting to work for indexes with uniqueKey that is not stored
> 
>
> Key: SOLR-14194
> URL: https://issues.apache.org/jira/browse/SOLR-14194
> Project: Solr
>  Issue Type: Improvement
>  Components: highlighter
>Affects Versions: master (9.0)
>Reporter: Andrzej Wislowski
>Assignee: David Smiley
>Priority: Minor
>  Labels: highlighter
> Attachments: SOLR-14194.patch, SOLR-14194.patch, SOLR-14194.patch, 
> SOLR-14194.patch
>
>
> Highlighting requires uniqueKey to be a stored field. I have changed 
> Highlighter allow returning results on indexes with uniqueKey that is a not 
> stored field, but saved as a docvalue type.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org



[jira] [Comment Edited] (SOLR-14194) Allow Highlighting to work for indexes with uniqueKey that is not stored

2020-01-24 Thread Andrzej Wislowski (Jira)


[ 
https://issues.apache.org/jira/browse/SOLR-14194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17022737#comment-17022737
 ] 

Andrzej Wislowski edited comment on SOLR-14194 at 1/24/20 2:15 PM:
---

I'll check new highlighter and fix tests

 


was (Author: awislowski):
I'll check news highlighter and fix tests

pt., 24 sty 2020, 05:10 użytkownik David Smiley (Jira) 



> Allow Highlighting to work for indexes with uniqueKey that is not stored
> 
>
> Key: SOLR-14194
> URL: https://issues.apache.org/jira/browse/SOLR-14194
> Project: Solr
>  Issue Type: Improvement
>  Components: highlighter
>Affects Versions: master (9.0)
>Reporter: Andrzej Wislowski
>Assignee: David Smiley
>Priority: Minor
>  Labels: highlighter
> Fix For: master (9.0)
>
> Attachments: SOLR-14194.patch
>
>
> Highlighting requires uniqueKey to be a stored field. I have changed 
> Highlighter allow returning results on indexes with uniqueKey that is a not 
> stored field, but saved as a docvalue type.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org