[jira] [Updated] (SOLR-4702) Velocity templates not rendering spellcheck suggestions correctly

2014-08-05 Thread Erik Hatcher (JIRA)

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

Erik Hatcher updated SOLR-4702:
---

Fix Version/s: 4.3

 Velocity templates not rendering spellcheck suggestions correctly
 -

 Key: SOLR-4702
 URL: https://issues.apache.org/jira/browse/SOLR-4702
 Project: Solr
  Issue Type: Bug
  Components: contrib - Velocity
Affects Versions: 4.2
Reporter: Mark Bennett
Assignee: Erik Hatcher
 Fix For: 4.3, 5.0, 4.10

 Attachments: SOLR-4702.patch, SOLR-4702.patch, SOLR-4702.patch


 The spellcheck links, AKA Did you mean, aren't rendered correctly.
 Instead of just having the corrected words, they have some .toString 
 gibberish because the object being serialized is too high up in the tree.
 This breaks both the link text displayed to the user, and the href used for 
 the anchor tag.
 Example:
 Search for electronicss OR monitor and you get:
 Did you mean {collationQuery=electronics OR 
 monitor,hits=14,misspellingsAndCorrections={electronicss=electronics,monitor=monitor}}?
 But you should just see:
 Did you mean electronics OR monitor?   (with hyperlinked electronics OR 
 monitor)
 The actual query submitted by those links is similarly broken.  Possibly the 
 templates were developed before collation was added and/or enabled by default.
 To see this bug at all with the example configs and docs you'll need to have 
 applied SOLR-4680 or SOLR-4681 against 4.2 or trunk.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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



[jira] [Updated] (SOLR-4702) Velocity templates not rendering spellcheck suggestions correctly

2014-08-01 Thread Erik Hatcher (JIRA)

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

Erik Hatcher updated SOLR-4702:
---

Fix Version/s: 4.10
   5.0

 Velocity templates not rendering spellcheck suggestions correctly
 -

 Key: SOLR-4702
 URL: https://issues.apache.org/jira/browse/SOLR-4702
 Project: Solr
  Issue Type: Bug
  Components: contrib - Velocity
Affects Versions: 4.2
Reporter: Mark Bennett
Assignee: Erik Hatcher
 Fix For: 5.0, 4.10

 Attachments: SOLR-4702.patch, SOLR-4702.patch, SOLR-4702.patch


 The spellcheck links, AKA Did you mean, aren't rendered correctly.
 Instead of just having the corrected words, they have some .toString 
 gibberish because the object being serialized is too high up in the tree.
 This breaks both the link text displayed to the user, and the href used for 
 the anchor tag.
 Example:
 Search for electronicss OR monitor and you get:
 Did you mean {collationQuery=electronics OR 
 monitor,hits=14,misspellingsAndCorrections={electronicss=electronics,monitor=monitor}}?
 But you should just see:
 Did you mean electronics OR monitor?   (with hyperlinked electronics OR 
 monitor)
 The actual query submitted by those links is similarly broken.  Possibly the 
 templates were developed before collation was added and/or enabled by default.
 To see this bug at all with the example configs and docs you'll need to have 
 applied SOLR-4680 or SOLR-4681 against 4.2 or trunk.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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



[jira] [Updated] (SOLR-4702) Velocity templates not rendering spellcheck suggestions correctly

2013-04-12 Thread Erik Hatcher (JIRA)

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

Erik Hatcher updated SOLR-4702:
---

Attachment: SOLR-4702.patch

Mark - here's an updated patch that simplifies a bit of the Velocity stuff, 
hopefully without breaking anything.

 Velocity templates not rendering spellcheck suggestions correctly
 -

 Key: SOLR-4702
 URL: https://issues.apache.org/jira/browse/SOLR-4702
 Project: Solr
  Issue Type: Bug
  Components: contrib - Velocity
Affects Versions: 4.2
Reporter: Mark Bennett
Assignee: Erik Hatcher
 Attachments: SOLR-4702.patch, SOLR-4702.patch


 The spellcheck links, AKA Did you mean, aren't rendered correctly.
 Instead of just having the corrected words, they have some .toString 
 gibberish because the object being serialized is too high up in the tree.
 This breaks both the link text displayed to the user, and the href used for 
 the anchor tag.
 Example:
 Search for electronicss OR monitor and you get:
 Did you mean {collationQuery=electronics OR 
 monitor,hits=14,misspellingsAndCorrections={electronicss=electronics,monitor=monitor}}?
 But you should just see:
 Did you mean electronics OR monitor?   (with hyperlinked electronics OR 
 monitor)
 The actual query submitted by those links is similarly broken.  Possibly the 
 templates were developed before collation was added and/or enabled by default.
 To see this bug at all with the example configs and docs you'll need to have 
 applied SOLR-4680 or SOLR-4681 against 4.2 or trunk.

--
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-4702) Velocity templates not rendering spellcheck suggestions correctly

2013-04-12 Thread Erik Hatcher (JIRA)

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

Erik Hatcher updated SOLR-4702:
---

Attachment: SOLR-4702.patch

Here's an update that fixes the reference to the no longer used textSpell field 
type and uses text_general on the text field instead.  If the 
queryAnalyzerFieldType specified field type doesn't exist, it uses the 
WhitespaceAnalyzer so it still worked without an error.

 Velocity templates not rendering spellcheck suggestions correctly
 -

 Key: SOLR-4702
 URL: https://issues.apache.org/jira/browse/SOLR-4702
 Project: Solr
  Issue Type: Bug
  Components: contrib - Velocity
Affects Versions: 4.2
Reporter: Mark Bennett
Assignee: Erik Hatcher
 Attachments: SOLR-4702.patch, SOLR-4702.patch, SOLR-4702.patch


 The spellcheck links, AKA Did you mean, aren't rendered correctly.
 Instead of just having the corrected words, they have some .toString 
 gibberish because the object being serialized is too high up in the tree.
 This breaks both the link text displayed to the user, and the href used for 
 the anchor tag.
 Example:
 Search for electronicss OR monitor and you get:
 Did you mean {collationQuery=electronics OR 
 monitor,hits=14,misspellingsAndCorrections={electronicss=electronics,monitor=monitor}}?
 But you should just see:
 Did you mean electronics OR monitor?   (with hyperlinked electronics OR 
 monitor)
 The actual query submitted by those links is similarly broken.  Possibly the 
 templates were developed before collation was added and/or enabled by default.
 To see this bug at all with the example configs and docs you'll need to have 
 applied SOLR-4680 or SOLR-4681 against 4.2 or trunk.

--
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-4702) Velocity templates not rendering spellcheck suggestions correctly

2013-04-11 Thread Mark Bennett (JIRA)

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

Mark Bennett updated SOLR-4702:
---

Attachment: SOLR-4702.patch

Fixes Did you mean spellcheck logic to use proper collation elements.

Also breaks out that logic into a new template did_you_mean.vm, and reformats 
the code to make it a bit easier to read.

 Velocity templates not rendering spellcheck suggestions correctly
 -

 Key: SOLR-4702
 URL: https://issues.apache.org/jira/browse/SOLR-4702
 Project: Solr
  Issue Type: Bug
  Components: contrib - Velocity
Affects Versions: 4.2
Reporter: Mark Bennett
 Attachments: SOLR-4702.patch


 The spellcheck links, AKA Did you mean, aren't rendered correctly.
 Instead of just having the corrected words, they have some .toString 
 gibberish because the object being serialized is too high up in the tree.
 This breaks both the link text displayed to the user, and the href used for 
 the anchor tag.
 Example:
 Search for electronicss OR monitor and you get:
 Did you mean {collationQuery=electronics OR 
 monitor,hits=14,misspellingsAndCorrections={electronicss=electronics,monitor=monitor}}?
 But you should just see:
 Did you mean electronics OR monitor?   (with hyperlinked electronics OR 
 monitor)
 The actual query submitted by those links is similarly broken.  Possibly the 
 templates were developed before collation was added and/or enabled by default.
 To see this bug at all with the example configs and docs you'll need to have 
 applied SOLR-4430 or SOLR-4431 against 4.2 or trunk.

--
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-4702) Velocity templates not rendering spellcheck suggestions correctly

2013-04-11 Thread Mark Bennett (JIRA)

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

Mark Bennett updated SOLR-4702:
---

Description: 
The spellcheck links, AKA Did you mean, aren't rendered correctly.

Instead of just having the corrected words, they have some .toString gibberish 
because the object being serialized is too high up in the tree.

This breaks both the link text displayed to the user, and the href used for the 
anchor tag.

Example:
Search for electronicss OR monitor and you get:
Did you mean {collationQuery=electronics OR 
monitor,hits=14,misspellingsAndCorrections={electronicss=electronics,monitor=monitor}}?

But you should just see:
Did you mean electronics OR monitor?   (with hyperlinked electronics OR 
monitor)

The actual query submitted by those links is similarly broken.  Possibly the 
templates were developed before collation was added and/or enabled by default.

To see this bug at all with the example configs and docs you'll need to have 
applied SOLR-4680 or SOLR-4681 against 4.2 or trunk.


  was:
The spellcheck links, AKA Did you mean, aren't rendered correctly.

Instead of just having the corrected words, they have some .toString gibberish 
because the object being serialized is too high up in the tree.

This breaks both the link text displayed to the user, and the href used for the 
anchor tag.

Example:
Search for electronicss OR monitor and you get:
Did you mean {collationQuery=electronics OR 
monitor,hits=14,misspellingsAndCorrections={electronicss=electronics,monitor=monitor}}?

But you should just see:
Did you mean electronics OR monitor?   (with hyperlinked electronics OR 
monitor)

The actual query submitted by those links is similarly broken.  Possibly the 
templates were developed before collation was added and/or enabled by default.

To see this bug at all with the example configs and docs you'll need to have 
applied SOLR-4430 or SOLR-4431 against 4.2 or trunk.



 Velocity templates not rendering spellcheck suggestions correctly
 -

 Key: SOLR-4702
 URL: https://issues.apache.org/jira/browse/SOLR-4702
 Project: Solr
  Issue Type: Bug
  Components: contrib - Velocity
Affects Versions: 4.2
Reporter: Mark Bennett
 Attachments: SOLR-4702.patch


 The spellcheck links, AKA Did you mean, aren't rendered correctly.
 Instead of just having the corrected words, they have some .toString 
 gibberish because the object being serialized is too high up in the tree.
 This breaks both the link text displayed to the user, and the href used for 
 the anchor tag.
 Example:
 Search for electronicss OR monitor and you get:
 Did you mean {collationQuery=electronics OR 
 monitor,hits=14,misspellingsAndCorrections={electronicss=electronics,monitor=monitor}}?
 But you should just see:
 Did you mean electronics OR monitor?   (with hyperlinked electronics OR 
 monitor)
 The actual query submitted by those links is similarly broken.  Possibly the 
 templates were developed before collation was added and/or enabled by default.
 To see this bug at all with the example configs and docs you'll need to have 
 applied SOLR-4680 or SOLR-4681 against 4.2 or trunk.

--
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org