Hi Khalezis,

If I understand well your question, I think you should try to escape all
lucene special characters inside field value (except *) and replace all
spaces with "\ ".
For example, based on your SQL example, your query should look like:

http://localhost:8983/solr/select?q=<your_field_name>:(Personal\ C*)

This one should work.

Best,
Milica


On Thu, Jul 10, 2014 at 5:49 PM, Khalezis <[email protected]> wrote:

> To clarify my question : I would like to add a wild char like '*' (% for
> sql)
> at the end of my string, and find every data begining with this string
>
> For example, we could use " Select * from MyTable Where MyString LIKE
> 'Personnal C%'  "
> Any idea on how to do this ?
>
> Thank you again for any answers
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Solr-search-space-containing-wildcard-tp4146495p4146549.html
> Sent from the Lucene - General mailing list archive at Nabble.com.
>

Reply via email to