alessandrobenedetti commented on pull request #129:
URL: https://github.com/apache/solr/pull/129#issuecomment-852936901


   Pull Request has been cleaned, only the fix related with the Jira issue is 
now present.
   i'll summarize it again.
   
   **Index Time**
   Configuring a field to be "StrField" or "text" with a keyword tokenizer 
builds an inverted index with a single token per field value.
   
   
   **Expected Query Time behaviour**
   As a user using the edismax and typing a full text query I expect:
   sow=false -> to not split on whitespace and delegate to the field text 
analysis (that for a StrField will not tokenize)
   sow=true -> to split on whitespace independently of the field type
   
   ** Current Incorrect Behaviour **
   If I query a "StrField" type or a text field type Keyword Tokenized, I get 
two different behaviours :
   sow=false -> it splits on whitespace anyway for StrField, causing incorrect 
results, for Keyword Tokenized texts, it works correctly
   sow=true -> to split on whitespace independently of the field type, it works 
correctly
   
   The changes are clear in the tests
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



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

Reply via email to