[jira] [Commented] (SOLR-5127) Allow multiple wildcards in hl.fl

2017-04-19 Thread Sven-S. Porst (JIRA)

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

Sven-S. Porst commented on SOLR-5127:
-

Cool, thanks for taking care of this [~cpoerschke]!

> Allow multiple wildcards in hl.fl
> -
>
> Key: SOLR-5127
> URL: https://issues.apache.org/jira/browse/SOLR-5127
> Project: Solr
>  Issue Type: Bug
>  Components: highlighter
>Affects Versions: 3.6.1, 4.4
>Reporter: Sven-S. Porst
>Assignee: Christine Poerschke
>Priority: Minor
> Fix For: 6.6, master (7.0)
>
> Attachments: highlight-wildcards.patch, SOLR-5127.patch, 
> SOLR-5127.patch, SOLR-5127.patch
>
>
> When a wildcard is present in the hl.fl field, the field is not split up at 
> commas/spaces into components. As a consequence settings like 
> hl.fl=*_highlight,*_data do not work.
> Splitting the string first and evaluating wildcards on each component 
> afterwards would be more powerful and consistent with the documentation.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (SOLR-5127) Allow multiple wildcards in hl.fl

2017-04-19 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on SOLR-5127:
---

Commit c3ebfdc4e2dbca62a56175a5ad4e6e1f5dcea2ee in lucene-solr's branch 
refs/heads/branch_6x from [~cpoerschke]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=c3ebfdc ]

SOLR-5127: Multiple highlight fields and wildcards are now supported e.g. 
hl.fl=title,text_*
(Sven-S. Porst, Daniel Debray, Simon Endele, Christine Poerschke)


> Allow multiple wildcards in hl.fl
> -
>
> Key: SOLR-5127
> URL: https://issues.apache.org/jira/browse/SOLR-5127
> Project: Solr
>  Issue Type: Bug
>  Components: highlighter
>Affects Versions: 3.6.1, 4.4
>Reporter: Sven-S. Porst
>Assignee: Christine Poerschke
>Priority: Minor
> Attachments: highlight-wildcards.patch, SOLR-5127.patch, 
> SOLR-5127.patch, SOLR-5127.patch
>
>
> When a wildcard is present in the hl.fl field, the field is not split up at 
> commas/spaces into components. As a consequence settings like 
> hl.fl=*_highlight,*_data do not work.
> Splitting the string first and evaluating wildcards on each component 
> afterwards would be more powerful and consistent with the documentation.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (SOLR-5127) Allow multiple wildcards in hl.fl

2017-04-19 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on SOLR-5127:
---

Commit f9ca49a8d59a89e30ce670e2eedcf6560e7ed91d in lucene-solr's branch 
refs/heads/master from [~cpoerschke]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=f9ca49a ]

SOLR-5127: Multiple highlight fields and wildcards are now supported e.g. 
hl.fl=title,text_*
(Sven-S. Porst, Daniel Debray, Simon Endele, Christine Poerschke)


> Allow multiple wildcards in hl.fl
> -
>
> Key: SOLR-5127
> URL: https://issues.apache.org/jira/browse/SOLR-5127
> Project: Solr
>  Issue Type: Bug
>  Components: highlighter
>Affects Versions: 3.6.1, 4.4
>Reporter: Sven-S. Porst
>Assignee: Christine Poerschke
>Priority: Minor
> Attachments: highlight-wildcards.patch, SOLR-5127.patch, 
> SOLR-5127.patch, SOLR-5127.patch
>
>
> When a wildcard is present in the hl.fl field, the field is not split up at 
> commas/spaces into components. As a consequence settings like 
> hl.fl=*_highlight,*_data do not work.
> Splitting the string first and evaluating wildcards on each component 
> afterwards would be more powerful and consistent with the documentation.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (SOLR-5127) Allow multiple wildcards in hl.fl

2017-04-13 Thread David Smiley (JIRA)

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

David Smiley commented on SOLR-5127:


I suggest moving the testMultipleFieldsViaWildcard to 
TestUnifiedSolrHighlighter.  PostingsHighlighter is probably only of 
backwards-compatibility interest.  It morphed into the UH.

> Allow multiple wildcards in hl.fl
> -
>
> Key: SOLR-5127
> URL: https://issues.apache.org/jira/browse/SOLR-5127
> Project: Solr
>  Issue Type: Bug
>  Components: highlighter
>Affects Versions: 3.6.1, 4.4
>Reporter: Sven-S. Porst
>Assignee: Christine Poerschke
>Priority: Minor
> Attachments: highlight-wildcards.patch, SOLR-5127.patch, 
> SOLR-5127.patch
>
>
> When a wildcard is present in the hl.fl field, the field is not split up at 
> commas/spaces into components. As a consequence settings like 
> hl.fl=*_highlight,*_data do not work.
> Splitting the string first and evaluating wildcards on each component 
> afterwards would be more powerful and consistent with the documentation.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (SOLR-5127) Allow multiple wildcards in hl.fl

2017-04-12 Thread David Smiley (JIRA)

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

David Smiley commented on SOLR-5127:


You could declare {{expandedFields}} to be a {{LinkedHashSet}} and the results 
would be deterministic.

> Allow multiple wildcards in hl.fl
> -
>
> Key: SOLR-5127
> URL: https://issues.apache.org/jira/browse/SOLR-5127
> Project: Solr
>  Issue Type: Bug
>  Components: highlighter
>Affects Versions: 3.6.1, 4.4
>Reporter: Sven-S. Porst
>Assignee: Christine Poerschke
>Priority: Minor
> Attachments: highlight-wildcards.patch, SOLR-5127.patch
>
>
> When a wildcard is present in the hl.fl field, the field is not split up at 
> commas/spaces into components. As a consequence settings like 
> hl.fl=*_highlight,*_data do not work.
> Splitting the string first and evaluating wildcards on each component 
> afterwards would be more powerful and consistent with the documentation.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (SOLR-5127) Allow multiple wildcards in hl.fl

2017-04-12 Thread David Smiley (JIRA)

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

David Smiley commented on SOLR-5127:


It's unclear what the difference is; I think you simply changed the order?  
That's insignificant, I think.

> Allow multiple wildcards in hl.fl
> -
>
> Key: SOLR-5127
> URL: https://issues.apache.org/jira/browse/SOLR-5127
> Project: Solr
>  Issue Type: Bug
>  Components: highlighter
>Affects Versions: 3.6.1, 4.4
>Reporter: Sven-S. Porst
>Assignee: Christine Poerschke
>Priority: Minor
> Attachments: highlight-wildcards.patch, SOLR-5127.patch
>
>
> When a wildcard is present in the hl.fl field, the field is not split up at 
> commas/spaces into components. As a consequence settings like 
> hl.fl=*_highlight,*_data do not work.
> Splitting the string first and evaluating wildcards on each component 
> afterwards would be more powerful and consistent with the documentation.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (SOLR-5127) Allow multiple wildcards in hl.fl

2017-03-14 Thread Christine Poerschke (JIRA)

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

Christine Poerschke commented on SOLR-5127:
---

https://cwiki.apache.org/confluence/display/solr/Highlighting#Highlighting-Usage
 mentions no restrictions on how hl.fl wildcards may be used i.e. this sounds 
like a bug (will update issue type to match).

> Allow multiple wildcards in hl.fl
> -
>
> Key: SOLR-5127
> URL: https://issues.apache.org/jira/browse/SOLR-5127
> Project: Solr
>  Issue Type: New Feature
>  Components: highlighter
>Affects Versions: 3.6.1, 4.4
>Reporter: Sven-S. Porst
> Attachments: highlight-wildcards.patch
>
>
> When a wildcard is present in the hl.fl field, the field is not split up at 
> commas/spaces into components. As a consequence settings like 
> hl.fl=*_highlight,*_data do not work.
> Splitting the string first and evaluating wildcards on each component 
> afterwards would be more powerful and consistent with the documentation.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (SOLR-5127) Allow multiple wildcards in hl.fl

2017-03-14 Thread Ramsey Haddad (JIRA)

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

Ramsey Haddad commented on SOLR-5127:
-

This problem still exists in the code.
But, the patch is fairly old and might need a minor tweak?

Any reason to not have this fix?


> Allow multiple wildcards in hl.fl
> -
>
> Key: SOLR-5127
> URL: https://issues.apache.org/jira/browse/SOLR-5127
> Project: Solr
>  Issue Type: New Feature
>  Components: highlighter
>Affects Versions: 3.6.1, 4.4
>Reporter: Sven-S. Porst
> Attachments: highlight-wildcards.patch
>
>
> When a wildcard is present in the hl.fl field, the field is not split up at 
> commas/spaces into components. As a consequence settings like 
> hl.fl=*_highlight,*_data do not work.
> Splitting the string first and evaluating wildcards on each component 
> afterwards would be more powerful and consistent with the documentation.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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



[jira] [Commented] (SOLR-5127) Allow multiple wildcards in hl.fl

2014-11-24 Thread Simon Endele (JIRA)

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

Simon Endele commented on SOLR-5127:


I implemented a similar solution, which seems to work for us.

May be interesting:
Using the PostingsSolrHighlighter an expression like {{hl.fl=*_text,myfield}} 
even causes the following exception:
{code}
java.lang.IllegalArgumentException: fieldsIn must not be empty
at 
org.apache.lucene.search.postingshighlight.PostingsHighlighter.highlightFieldsAsObjects(PostingsHighlighter.java:342)
at 
org.apache.lucene.search.postingshighlight.PostingsHighlighter.highlightFields(PostingsHighlighter.java:303)
at 
org.apache.solr.highlight.PostingsSolrHighlighter.doHighlighting(PostingsSolrHighlighter.java:140)
at 
org.apache.solr.handler.component.HighlightComponent.process(HighlightComponent.java:146)
at 
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:218)
{code}

> Allow multiple wildcards in hl.fl
> -
>
> Key: SOLR-5127
> URL: https://issues.apache.org/jira/browse/SOLR-5127
> Project: Solr
>  Issue Type: New Feature
>  Components: highlighter
>Affects Versions: 3.6.1, 4.4
>Reporter: Sven-S. Porst
> Attachments: highlight-wildcards.patch
>
>
> When a wildcard is present in the hl.fl field, the field is not split up at 
> commas/spaces into components. As a consequence settings like 
> hl.fl=*_highlight,*_data do not work.
> Splitting the string first and evaluating wildcards on each component 
> afterwards would be more powerful and consistent with the documentation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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