You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Matthias Herrmann (JIRA)" <ji...@apache.org> on 2013/05/17 08:01:17 UTC

[jira] [Issue Comment Deleted] (SOLR-3225) highlighting of queries does not works in solr4.0

     [ https://issues.apache.org/jira/browse/SOLR-3225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Herrmann updated SOLR-3225:
------------------------------------

    Comment: was deleted

(was: What exactly do you mean by saying ??You can still use highlighting on any of the fields in the "to" document?? ? I made a simple example by indexing example/exampledocs/*.xml which ships with standard Solr distribution. Having these documents indexed to the example server I run the following query:
[http://localhost:8983/solr/collection1/select?q=belkin&defType=lucene&wt=json&indent=true&hl=true&hl.fl=* ]
In the query result the section "highlighting" looks like:
{code}
"highlighting":{
    "F8V7067-APL-KIT":{
      "name":["<em>Belkin</em> Mobile Power Cord for iPod w/ Dock"],
      "manu_id_s":["<em>belkin</em>"],
      "manu":["<em>Belkin</em>"]},
    "IW-02":{
      "manu_id_s":["<em>belkin</em>"],
      "manu":["<em>Belkin</em>"]}}
{code}
So highlighting works fine. BUT when running this query: 
[http://localhost:8983/solr/collection1/select?q=\{!join+from=id+to=id\}belkin&defType=lucene&wt=json&indent=true&hl=true&hl.fl=*]
In the query result the section "highlighting" looks like:
{code}
"highlighting":{
    "F8V7067-APL-KIT":{},
    "IW-02":{}}
{code}
As you can see highlighting does not work in combination with join. Is this a bug or am I missing something?
)
    
> highlighting of queries does not works in solr4.0
> -------------------------------------------------
>
>                 Key: SOLR-3225
>                 URL: https://issues.apache.org/jira/browse/SOLR-3225
>             Project: Solr
>          Issue Type: Bug
>          Components: highlighter
>    Affects Versions: 4.0-ALPHA
>            Reporter: sumit pathak
>              Labels: documentation
>
> q= {!join from=manu_id_s to=id}ipod
> by highlighting this query it does not highlights the required field ,hence highlighting not works in join queries.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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