search query used as lowercase, improved textPreview (longer but without line breaks)