@ripe palm Thanks for you response!
I’ve read through the blog post you mentioned, and it was very insightful. However, I’m still struggling with why my document search is returning no results.
For context:
- When I search in Pages, everything works perfectly. Here's an example of the generated Lucene query:
Category: content, LuceneQuery: +(combinedField:alexander~2) +__Published:y +searchablePath:1591 -hideFromInternalSearch:1 -__NodeTypeAlias:usnsitemapxml -__NodeTypeAlias:usnrobotstxt
This query returns the expected results.
- When I search in Documents (using the PDFIndex), my query looks like this:
Category: media, LuceneQuery: +fileTextContent:konzept~2
However, this query returns 0 results, even though I can find the correct document (Marketing Konzept Hunziker) in Examine Management under the same PDFIndex when I search manually.
Here’s where I’m confused:
- Does the query need additional fields to properly target the PDFIndex? Should I explicitly include something like +__IndexType:pdf, or is that already implied by the query’s Category: media?
- When debugging, how can I verify that the query is actually searching where it should?
Just to clarify, the generated Lucene query for document search looks like this when I log it:
Category: media, LuceneQuery: +fileTextContent:konzept~2
It seems correct, but something is still missing. Any advice or guidance on this would be greatly appreciated!