Server Error in '/' Application.

Encountered " ":" ": "" at line 1, column 20.
Was expecting one of:
   <AND> ...
   <OR> ...
   <NOT> ...
   "+" ...
   "-" ...
   "(" ...
   ")" ...
   "*" ...
   "^" ...
   <QUOTED> ...
   <TERM> ...
   <FUZZY_SLOP> ...
   <PREFIXTERM> ...
   <WILDTERM> ...
   "[" ...
   "{" ...
   <NUMBER> ...
   

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Lucene.Net.QueryParsers.ParseException: Encountered " ":" ": "" at line 1, column 20.
Was expecting one of:
   <AND> ...
   <OR> ...
   <NOT> ...
   "+" ...
   "-" ...
   "(" ...
   ")" ...
   "*" ...
   "^" ...
   <QUOTED> ...
   <TERM> ...
   <FUZZY_SLOP> ...
   <PREFIXTERM> ...
   <WILDTERM> ...
   "[" ...
   "{" ...
   <NUMBER> ...
   

Source Error:


Line 153:            if (page == "1")
Line 154:            {
Line 155:                j_result = s_f.search(strwhere + " (commendhome:" + BASE.chaxunshuzi("1") + ") (commendhome_enddate:[" + DateTime.Now.ToString("yyyyMMddHHmmss") + " 99999999999999])", "F:\\foodjob_index\\jobs", "hire_id", (int.Parse(page) - 1) * per, per);
Line 156:            }
Line 157:            result = s_f.search(strwhere + " NOT ((commendhome:" + BASE.chaxunshuzi("1") + ")(commendhome_enddate:[" + DateTime.Now.ToString("yyyyMMddHHmmss") + " 99999999999999]))", "F:\\foodjob_index\\jobs", "hire_id", (int.Parse(page) - 1) * per, per);

Source File: f:\foodjob.cn\search\jobs.aspx.cs    Line: 155

Stack Trace:


[ParseException: Encountered " ":" ": "" at line 1, column 20.
Was expecting one of:
    <AND> ...
    <OR> ...
    <NOT> ...
    "+" ...
    "-" ...
    "(" ...
    ")" ...
    "*" ...
    "^" ...
    <QUOTED> ...
    <TERM> ...
    <FUZZY_SLOP> ...
    <PREFIXTERM> ...
    <WILDTERM> ...
    "[" ...
    "{" ...
    <NUMBER> ...
    ]
   Lucene.Net.QueryParsers.QueryParser.Jj_consume_token(Int32 kind) +212
   Lucene.Net.QueryParsers.QueryParser.Clause(String field) +247
   Lucene.Net.QueryParsers.QueryParser.Query(String field) +64
   Lucene.Net.QueryParsers.QueryParser.Clause(String field) +231
   Lucene.Net.QueryParsers.QueryParser.Query(String field) +64
   Lucene.Net.QueryParsers.QueryParser.Clause(String field) +231
   Lucene.Net.QueryParsers.QueryParser.Query(String field) +64
   Lucene.Net.QueryParsers.QueryParser.Parse(String query) +95

[ParseException: Cannot parse '(((hire_workadd:http://www.0597car.com/Html/news/201601/08/30283.html) OR (hire_workaddcity:http://www.0597car.com/Html/news/201601/08/30283.html) OR (hire_somekey:http://www.0597car.com/Html/news/201601/08/30283.html) OR (hire_place:http://www.0597car.com/Html/news/201601/08/30283.html) OR (hire_comname:http://www.0597car.com/Html/news/201601/08/30283.html) OR (hire_introduce:http://www.0597car.com/Html/news/201601/08/30283.html) )  (commendhome:1000000001) (commendhome_enddate:[20240329103528 99999999999999]))': Encountered " ":" ": "" at line 1, column 20.
Was expecting one of:
    <AND> ...
    <OR> ...
    <NOT> ...
    "+" ...
    "-" ...
    "(" ...
    ")" ...
    "*" ...
    "^" ...
    <QUOTED> ...
    <TERM> ...
    <FUZZY_SLOP> ...
    <PREFIXTERM> ...
    <WILDTERM> ...
    "[" ...
    "{" ...
    <NUMBER> ...
    ]
   Lucene.Net.QueryParsers.QueryParser.Parse(String query) +218
   sf_search.index.search(String strwhere, String indexpath, String zhujian, Int32 start, Int32 len) in D:\Documents\Downloads\NEWzl_search\NEWzl_search\zl_search\sfsearch.cs:70
   search_jobs.Page_Load(Object sender, EventArgs e) in f:\foodjob.cn\search\jobs.aspx.cs:155
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +91
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.507