[jira] [Commented] (SOLR-2080) Create a Related Search Component

2011-10-10 Thread Cameron (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-2080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13124396#comment-13124396
 ] 

Cameron commented on SOLR-2080:
---

Any progress on this feature? I'm curious as to how one would build a feature 
like this without the need for external data such as logs.

 Create a Related Search Component
 -

 Key: SOLR-2080
 URL: https://issues.apache.org/jira/browse/SOLR-2080
 Project: Solr
  Issue Type: New Feature
Reporter: Grant Ingersoll

 Similar to spell checking, it is often useful to be able to, given a search, 
 get back related searches, as determined by some model (perhaps external, 
 perhaps internal -- as in a different core).  For now, I'm not concerned with 
 the process of adding queries to the model.  
 So, for example, given the query television, this component _might_ return: 
 LCD tvs, plasma tvs, HDTV, etc.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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] [Commented] (LUCENE-3475) ShingleFilter should handle positionIncrement of zero, e.g. synonyms

2011-09-28 Thread Cameron (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-3475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13116829#comment-13116829
 ] 

Cameron commented on LUCENE-3475:
-

It does not handle a position increment of 0.

...I had interpreted that to mean it would just 'ignore' or not try to do 
anything with tokens where posIncr=0. I guess that is an incorrect assumption?

 ShingleFilter should handle positionIncrement of zero, e.g. synonyms
 

 Key: LUCENE-3475
 URL: https://issues.apache.org/jira/browse/LUCENE-3475
 Project: Lucene - Java
  Issue Type: New Feature
  Components: modules/analysis
Affects Versions: 3.4
Reporter: Cameron
Priority: Minor

 ShingleFilter is creating shingles for a single term that has been expanded 
 by synonyms when it shouldn't. The position increment is 0.
 As an example, I have an Analyzer with a SynonymFilter followed by a 
 ShingleFilter. Assuming car and auto are synonyms, the SynonymFilter produces 
 two tokens and position 1: car, auto. The ShingleFilter is then producing 3 
 tokens, when there should only be two: car, car auto, auto. This behavior 
 seems incorrect.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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