Provide a tool to debug Lucene queries by rendering the executed queries to the rendered page. This tool should only be used for debugging and testing purposes only. Not meant for a production environment.
Features
Lucene queries captured in trace rendered in output window, descending by date.
Execution date, time in ms and query displayed in output window.
Expand/collapse button to hide/show output window.
Clear button to empty Lucene trace output from provider (session).
Project Contents:
QueryRunnerTrace.cs - QueryRunner wrapper, saving all Lucene query text to the query trace provider specified.
QueryTraceScope.cs - Manages monitoring of query activity.
QueryTraceScopeSessionProvider.cs - Session provider for saving of queries executed against Lucene.
LucenePorfiler.cs - Web Control that presents the captured Lucene queries.
Other files provide support via helper methods, embedded web control resources, and an interface for additional provider implementations, when necessary.
How to Use:
Using the tracing utility is easy to use, by following the steps below:
Add a reference to the project scSearchContrib.Profiler.
Use QueryRunnerTrace to execute ADC searches.
Add an instance of LuceneProfiler.cs web control to the desired page/rendering:
Project Goal:
Provide a tool to debug Lucene queries by rendering the executed queries to the rendered page. This tool should only be used for debugging and testing purposes only. Not meant for a production environment.
Features
Project Contents:
Other files provide support via helper methods, embedded web control resources, and an interface for additional provider implementations, when necessary.
How to Use:
Using the tracing utility is easy to use, by following the steps below:
Example Output: