satyaveerendra / djangosearch

Automatically exported from code.google.com/p/djangosearch
0 stars 0 forks source link

Add the possibility to by pass the quey abstraction layer #11

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. from djangosearch import search
2. search(query="query_string timestamp:[2009-01-08T20:16:36.1Z TO
2009-01-08T20:16:36.500Z]").query

What is the expected output? 
query_string AND timestamp:[2009-01-08T20:16:36.1Z TO 2009-01-08T20:16:36.500Z]

What do you see instead?
query_string

What version of the product are you using? On what operating system?
trunk

Please provide any additional information below.
I am suggesting the addition of a parameter in search called
"query_abstraction_layer". The default will be True that means that search
will take advantage of "convert_query" and if set to False it will use the
original query string.

This approach will enable the use of all the specificities of the backend.
--yml

Original issue reported on code.google.com by yann.ma...@gmail.com on 12 Jan 2009 at 6:01

Attachments: