#
Constructor
In v1.6 when I perform a site search with the string:
Test!
I get the following message:
When I reach 'IndexQuery.cs' (in the my trunk version) it fails here:
giving:
It is only when certain characters are passed in the search string.
I notice there is a 'keywordFilter' containing the site name but nothing else.
Is there a filter of some sort to remove these characters?
How shlould they be handled ideally?
RegEx?
Some sort of encoding?
Are there limitations with the search?
I have not had experience with Lucene.Net but I know I will have to look at it now. I am determined to get to grips with the every nut and bolt of Cuyahoga. I have made a lot of progress (IOC, Castle, MVC etc...)
I keep finding a lot of questions :)
I will continue to look into it. Can anyone point me in the right direction?
Test!
I get the following message:
Couldn't execute the search query due to invalid arguments
When I reach 'IndexQuery.cs' (in the my trunk version) it fails here:
Query multiQuery = MultiFieldQueryParser.Parse(new string[] { queryText, queryText }, new string[] { "title", "contents" }, new StandardAnalyzer());giving:
Exception Details: Lucene.Net.QueryParsers.ParseException: Encountered "((EOF))" at line 1, column 5.
Was expecting one of:
"(" ...
((QUOTED)) ...
((TERM)) ...
((PREFIXTERM)) ...
((WILDTERM)) ...
"[" ...
"{" ...
((NUMBER)) ...
It is only when certain characters are passed in the search string.
I notice there is a 'keywordFilter' containing the site name but nothing else.
Is there a filter of some sort to remove these characters?
How shlould they be handled ideally?
RegEx?
Some sort of encoding?
Are there limitations with the search?
I have not had experience with Lucene.Net but I know I will have to look at it now. I am determined to get to grips with the every nut and bolt of Cuyahoga. I have made a lot of progress (IOC, Castle, MVC etc...)
I keep finding a lot of questions :)
I will continue to look into it. Can anyone point me in the right direction?