Aricie
Intégrateur de vos solutions d'avenir
DNN Community Forums

index reader error

Sort:
You are not authorized to post a reply.
Page 1 of 212 > >>
Author
Messages


jgumbrell











New Member



Posts:




New Member



    ive installed LuceneSearch, all settings appear to be correct however no results are returned - specifically im searching dmx. checking logs i see that each search produces following error

    Lucene.Net.Store.AlreadyClosedException: this IndexReader is closed at Lucene.Net.Index.IndexReader.EnsureOpen() at Lucene.Net.Index.DirectoryReader.Terms(Term term) at Lucene.Net.Search.TermRangeTermEnum..ctor(IndexReader reader, String field, String lowerTermText, String upperTermText, Boolean includeLower, Boolean includeUpper, CompareInfo collator) at Lucene.Net.Search.TermRangeQuery.GetEnum(IndexReader reader) at Lucene.Net.Search.MultiTermQuery.ConstantScoreAutoRewrite.Rewrite(IndexReader reader, MultiTermQuery query) at Lucene.Net.Search.MultiTermQuery.Rewrite(IndexReader reader) at Lucene.Net.Search.BooleanQuery.Rewrite(IndexReader reader) at Lucene.Net.Search.BooleanQuery.Rewrite(IndexReader reader) at Lucene.Net.Search.IndexSearcher.Rewrite(Query original) at Lucene.Net.Search.Query.Weight(Searcher searcher) at Lucene.Net.Search.Searcher.CreateWeight(Query query) at Lucene.Net.Search.Searcher.Search(Query query, Filter filter, Int32 n, Sort sort) at Aricie.DNN.Modules.LuceneSearch.Business.PortalQueryingDriver.RunLuceneQuery(Query objQuery, Int32 nbProcessedResults, Sort objSort, Searcher objSearcher) at Aricie.DNN.Modules.LuceneSearch.Business.PortalQueryingDriver.RunQuery(Int32 searchModuleId, Query objQuery, Sort objSort, Int32 resultPageIndex, Int32 pageSize) at Aricie.DNN.Modules.LuceneSearch.Business.PortalQueryingDriver.RunQuery(Int32 portalId, Int32 searchModuleId, LuceneFilterQuery objLuceneQuery, Sort objSort, Int32 resultPageIndex, Int32 pageSize) at Aricie.DNN.Modules.LuceneSearch.Business.PortalQueryingDriver.RunQuery(Int32 portalId, Int32 searchModuleId, LuceneFilterQuery objLuceneQuery, String sorters, Int32 resultPageIndex, Int32 pageSize) at Aricie.DNN.Modules.LuceneSearch.Business.LuceneSearchDataStore.GetSearchResults(Int32 portalID, Int32 moduleId, SearchParams objSearchParams

    Any ideas?

    thanks

    Jon



    samyb











    New Member



    Posts:




    New Member



      Hello Jon,

      These messages seem to indicate that LuceneSearch wasn't installed correctly on your DotNetNuke instance. Could you please check in the Indexing Settings to see what folder the Lucene index is written to? If you are using the latest version of the LuceneSearch module it will be available under:

      Indexer Settings menu entry > Indexing tab > Path to index folder

      Could you please make sure there is name (for example AricieLuceneIndex) in the textbox? If not, type in what you want the folder name to be. If there is already a name in the textbox, type a different name in the textbox. in both cases, click "Save and continue".

      If you have a previous version of LuceneSearch, the settings page may have different tab names. COuld you please tell me what version of LuceneSearch you are using?

      Best regards,

      Samy



      jgumbrell











      New Member



      Posts:




      New Member



        Hi Samy

        There was a path already, i have changed this as requested and saved but still receive the same error in logs - my version is 1.6.1

        Thanks

        Jon



        samyb











        New Member



        Posts:




        New Member



          Since it looks like the error is coming from inside the Lucene library i'm wondering if some code branch could be closing the index at a wrong time.

          Could you please check if Indexer Settings > Search Behavior tab > Use Shared index reader is checked. Could you also send me a copy of your settings (by exporting them from the module menu) or grant me access to the settings so i can have a look. I'd like to start by looking at the settings to see if anythings strikes me as odd. If you use a custom search interface, it would be useful to have the ascx for that interface.

          Samy



          jgumbrell











          New Member



          Posts:




          New Member



            use shared reader wasn't checked, however checking it hasnt changed anything. we havent used any custom interface as yet.

            And how do i export the settings, the normal export from the module menu doesnt appear (dnn 06.02.01 (253))

            thanks

            You are not authorized to post a reply.
            Page 1 of 212 > >>