Changing from search to indexer returns the following error:
System.NotSupportedException: XSLT Extensions are only support for providers of type LuceneSearcher
at UmbracoExamine.XsltExtensions.EnsureProvider(BaseSearchProvider p)
at UmbracoExamine.XsltExtensions.Search(String searchText, Boolean useWildcards, String providerName, String indexType)
To search you need PDFSearcher not indexer that is used during indexing time. I am assuming you have written your own xslt extension under Illumi.Search which is what you are calling? If so can you put debugger using visual studio on method SearchContentOnly then can you paste back actual lucene query generated.
Just to be aware Pdf content lives in field called FileTextContent are you definitely searching on that field?
Examine: Searchindex returns no results despite containing 504 documents
I got a pdf specific index up and running but no matter what i search for it return " ".
I tried rebuilding the index several times to no avail.
My xslt code:
Hi Henrik,
I haven't tried any Examine stuff, but I noticed thath you named the index PDFIndexer, yet the name you're passing into the extension is PDFSearcher ?
(I could be missing a mapping somewhere - just wanted to point it out, though).
/Chriztian
Hi Chriztian
Changing from search to indexer returns the following error:
The complete xslt code for reference:
To search you need PDFSearcher not indexer that is used during indexing time. I am assuming you have written your own xslt extension under Illumi.Search which is what you are calling? If so can you put debugger using visual studio on method SearchContentOnly then can you paste back actual lucene query generated.
Just to be aware Pdf content lives in field called FileTextContent are you definitely searching on that field?
Regards
Ismail
Thanks you all for helping.
Using the "FileTextContent" fieldname solved the problem.
Cheers
is working on a reply...