If
1) the field you are searching against has type "text_general" AND
2) you completely reindexed the data AND
3) The string "soul#person" is present in the data being indexed with a
space before and after the string
the schema you shared with the WhitespaceTokeinzerFactory in both index and
query analyzer should work for the specific example of "soul#person" (even
without the quotes).

To check for #1, in you solrconfig.xml, assuming you are using "/select"
handler for searching:
- Check if there is a "df" parameter present, either directly in the
definition for "/select" handler or under "initParams". It specifies the
field used by default for searching if you are not overriding in your query.
- For that field, check the "type" in schema.

Make sure the WhitespaceTokenizerFactory is set for that field type
("text_general" or whatever it may be).

If it still doesn't work, please share your managed-schema.xml (or
schema.xml) and the solrconfig.xml. Fyi attachments/images get dropped in
the mailing list, so you might need to share the text.

Best,
Rahul

Reply via email to