I could only search on 4 characters or more before I added a wildcard, then 3 characters worked.
.ManagedQuery($"{query}*")
I can see in the Examine.Lucine-source that queries are generated in different ways depending on how long the query is, but cannot see why searching on 2 characters doesn't work.
How do i set minimum query length in Examine?
How do i set min query length in examine? I have tried setting it in appsettings like this:
Im using Umbraco version 11.2.0
Hi Adam,
Can you tell me what you are trying to achieve. I don't think a MinQueryStringLength config option existed for examine.
Dave
We noticed we didnt get any hits when we searched with less characters than 3. But it might have been another problem.
Thanks anyways!
I could only search on 4 characters or more before I added a wildcard, then 3 characters worked.
I can see in the Examine.Lucine-source that queries are generated in different ways depending on how long the query is, but cannot see why searching on 2 characters doesn't work.
https://github.com/Shazwazza/Examine/blob/release/4.0/src/Examine.Lucene/Indexing/FullTextType.cs
Is there anyway to get around this issue and be able to search on two characters?
Cheers :-)
is working on a reply...