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

Custom provider for custom module

Sort:
You are not authorized to post a reply.
Page 2 of 2 << < 12
Author
Messages


rodrigo ratan











New Member



Posts:




New Member



    &gt; samyb wrote:

    &gt; Regarding the LuceneSearch compilation, you have to make sure to use the correct build configuration to avoid the limitation messages for the module (look for the Debug/Release vs the Debug Trial/Release Trial configuraitons).

    It worked! No more trial limitation messages!

    &gt; samyb wrote:
    &gt; If I&#39;ve understood correctly, the indexation works correctly but the results are not showing up.

    exactly, Luke helped me verify that all the content is there, but the results stopped working... Before having my custom provider finished I tried to turn off indexing of HTML and Documents to try isolate the problem, after I got my custom provider right (and tested in a separate DNN installation) I installed it on this site and saw the results on Luke, but not on the site. I tried to revert the settings to index HTML and documents, the results of these content also appeared on Luke but didn&#39;t show up in the search results

    &gt; samyb wrote:
    &gt; Perhaps your query is filtering too much out of the items, you could perhaps have a look at what is queried by Aricie.LuceneSearch. There are some elements that could be responsible for the lack of results: security filters, or language filters...
    &gt; What I&#39;d recommend is taking a look at what query is built out of your configuration and compare it to the query that you would use with Luke.
    &gt;To take a look at the built query, you can attach to the BuildQuery method in the PortalQueryingDriver class

    I captured all the steps of my debugging in Visual Studio and Luke:

    Starts with my Search Results page on the site searching by &quot;nuclear&quot;:

    how the query arrives at GetSearchResults / PortalQueryingDriver:

    I found that there are a lot of clauses, are they used as &quot;OR&quot; or &quot;AND&quot; clauses ?

    If I search using Content:nuclear* I found the HTML module content that exists in a lot of pages:


    Searching only by &quot;nuclear&quot; results in a Text:nucl search that finds content in some documents (PDF files):

    Indexing Details of a document found:

    Available fields on my index and top ranking terms:

    But as the first image shows, ResultsFound == 0....

    I compared with a clean installation where the module is working and found nothing different...

    here are my INDEXING Settings:

    And my RESULT Settings:

    And my Scheduler settings:

    Am I missing something obvious on these settings?

    I&#39;m blocked with this issue!

    I saw the module working before and also in a clean dnn instalation... but something went wrong on this installation,....

    My last option would be a fresh dnn installation and start over but it is not pratical because the amount of content and settings with all the workflow required in module instances, settings, two portals, two languages, etc....

    Should I contact Aricie Paid support? Would the &quot;The Occasional&quot; option works for this kind of problem?

    Thanks in advance!



    samyb











    New Member



    Posts:




    New Member



      Hello Rodrigo,

      The clauses that you see are the ones that are applied to your lucene index. Simply searching for &quot;nuclear*&quot; in Luke doesn&#39;t take into account other settings. What I would like you to do is to grab the full query that is applied to the index (method PortalQueryingDriver.RunLuceneQuery) and copy it there. I also sent you an email asking for other informations, since you may not want to post these here.

      Since you saw the module working I think you are having a problem with the configuration, but I don&#39;t see it from what you are showing us in the screenshots, hence my asking for access to your website to check it directly.



      rodrigo ratan











      New Member



      Posts:




      New Member



        Hi Samy, I added you with superuser access to the website, you probably received a random password at your email

        I&#39;m running the Visual Studio update 3 now but after it I can try agian to check the &quot;full query that is applied to the index at method PortalQueryingDriver.RunLuceneQuery&quot;

        I also think it&#39;s something related to configurations because it was working and stopped when I messed up some setting... My fear is something is corrupt in this installation because I already compared a clean DNN installation with a clean aricie luceneseearch module and almost all the settings seems equal except that now I have my custom provider registered in the list of providers and some results template customization

        Let me know if you need anything else like FTP access or database backup... thanks !

        You are not authorized to post a reply.
        Page 2 of 2 << < 12