title:/magnet.?/ doesn't work for me because solr answers:
|title = "Magnetic folding system"|
but thanks to give me the idea to use regexp !!!
Le 21/10/2015 18:46, Upayavira a écrit :
No, you cannot tell Solr to handle wildcards differently. However, you
can use regular expressions for searching:
title:/magnet.?/ should do it.
Upayavira
On Wed, Oct 21, 2015, at 11:35 AM, Bruno Mannina wrote:
Dear Solr-user,
I'm surprise to see in my SOLR 5.0 that the wildward ? replace
inevitably 1 character.
my request is:
title:magnet? AND tire?
SOLR found only title with a character after magnet and tire but don't
found
title with only magnet AND tire
Do you know where can I tell to solr that ? wildcard means [0, 1]
character and not [1] character ?
Is it possible ?
Thanks a lot !
my field in my schema is defined like that:
Field: title
Field-Type:
org.apache.solr.schema.TextField
PI Gap:
100
Flags: Indexed Tokenized Stored Multivalued
Properties y
y
y
y
Schema y
y
y
y
Index y
y
y
*
org.apache.solr.analysis.TokenizerChain
*
org.apache.solr.analysis.TokenizerChain
---
L'absence de virus dans ce courrier électronique a été vérifiée par le
logiciel antivirus Avast.
http://www.avast.com
---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel
antivirus Avast.
http://www.avast.com