Re: Tokenized querying

2017-03-07 Thread OTH
Hi, Thanks a lot for the help. Adding 'score' to 'fl' worked. I had been using Lucene for some time (thought not at an expert level), and I was usually pretty satisfied with the scoring; so I'm assuming Solr should work fine for me too. At the time being I'm just trying to get a handle on how

Re: Tokenized querying

2017-03-07 Thread Alexandre Rafalovitch
Try adding "score" as a pseudo-field in the 'fl' parameter: https://cwiki.apache.org/confluence/display/solr/Common+Query+Parameters#CommonQueryParameters-Thefl(FieldList)Parameter You can also enable debug and debug.explain.structured, if you want to go all inception on figuring the scores out:

Re: Tokenized querying

2017-03-07 Thread OTH
Hello, Thanks for your response; it turned out the fields were indeed of 'string' type, and when I changed them to 'text_general', it started to work as I wanted. However, I'm still not sure how to extract the scores? I don't seem to be getting that in the response. Much thanks On Tue, Mar 7,

Re: Tokenized querying

2017-03-07 Thread Alexandre Rafalovitch
The default text field definition (text_general) tokenizes on spaces, so - if I understand the question correctly - it should just work. Are you by any chance searching against name field that is defined as String (and is not tokenized). If you do Solr tutorial, you search on "ipod", which seems

Tokenized querying

2017-03-07 Thread OTH
Hello, I am new to Solr. I am using v. 6.4.1. I have what is probably a pretty simple question. Let's say I have these documents with the following values in a single field (let's call it "name"): sando...@company.example.com sandb...@company.example.com sa...@company.example.com Sancho