Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

BZ-1232000: if lucene parser returns an empty query - we use widlcard to #123

Closed
wants to merge 1 commit into from

Conversation

porcelli
Copy link
Contributor

return possible results. Usually this happens when you try to search
with a single character.

return possible results. Usually this happens when you try to search
with a single character.
@manstis
Copy link
Contributor

manstis commented Nov 17, 2015

I suspect your commit comment is wrong... the BZ number looks too long? Otherwise looks good. +1 to merge.

@porcelli
Copy link
Contributor Author

@manstis
Copy link
Contributor

manstis commented Nov 17, 2015

Wozza! By the way do you actually have a test for an empty term? Looking again I could not see one.... terms... parsed query.. I'm guessing to get an empty parsed query the term would need to be empty too?

@manstis
Copy link
Contributor

manstis commented Nov 17, 2015

I'm not questioning your fix - well I am actually ;-) - but is the cause that "a" is a stop word filtered by the default analyser used for full text.. so in essence the "full text" entry stored in the index is empty?

@porcelli
Copy link
Contributor Author

you're absolutely right - as usual.. better fix commig

@manstis
Copy link
Contributor

manstis commented Nov 17, 2015

Sorry :-(

-1 to merge.

@porcelli porcelli closed this Nov 18, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants