Server Error in '/' Application.

Encountered " "]" "] "" at line 1, column 158.
Was expecting one of:
   "TO" ...
   <RANGEIN_QUOTED> ...
   <RANGEIN_GOOP> ...
   

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 158.
Was expecting one of:
   "TO" ...
   <RANGEIN_QUOTED> ...
   <RANGEIN_GOOP> ...
   

Source Error:


Line 143:        if (strwhere != "")
Line 144:        {
Line 145:            result = s_f.search(strwhere, "F:\\foodjob_index\\rencai", "person_id", (int.Parse(page) - 1) * per, per);
Line 146:        }
Line 147:        else

Source File: f:\foodjob.cn\search\resumes.aspx.cs    Line: 145

Stack Trace:


[ParseException: Encountered " "]" "] "" at line 1, column 158.
Was expecting one of:
    "TO" ...
    <RANGEIN_QUOTED> ...
    <RANGEIN_GOOP> ...
    ]
   Lucene.Net.QueryParsers.QueryParser.Jj_consume_token(Int32 kind) +212
   Lucene.Net.QueryParsers.QueryParser.Term(String field) +2713
   Lucene.Net.QueryParsers.QueryParser.Clause(String field) +204
   Lucene.Net.QueryParsers.QueryParser.Query(String field) +64
   Lucene.Net.QueryParsers.QueryParser.Clause(String field) +231
   Lucene.Net.QueryParsers.QueryParser.Query(String field) +184
   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 '(((person_workadd1:%BA%D3%C4%CF ) OR (person_workadd2:%BA%D3%C4%CF ) OR (person_workadd3%BA%D3%C4%CF ) OR (person_live:%BA%D3%C4%CF ) )(person_period:[11%2060] ) (person_jobtype:%BC%E6%D6%B0 ) )': Encountered " "]" "] "" at line 1, column 158.
Was expecting one of:
    "TO" ...
    <RANGEIN_QUOTED> ...
    <RANGEIN_GOOP> ...
    ]
   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_resumes.Page_Load(Object sender, EventArgs e) in f:\foodjob.cn\search\resumes.aspx.cs:145
   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