Hello All
I have two different documents (one.txt and two.txt) in same folder with same text. For example, 'Technical details page'
And Documents are re-indexed.
Backend search query is
fulltext = Technical details page
p.offset=0
p.limit=-1
type=dam:Asset
when searched for results. I'm getting only one document. One.txt
And when remove type=dam:Asset from above query. Many results are returned and has my two documents.
First Query Search Results
1. /content/dam/one.text
Second Query Search Results
1. /content/dam/one.txt
2. /content/dam/one.txt/jcr:content/renditions/page/jcr:content/par/text/text-16
3. /content/dam/two.txt
4. /content/dam/two.txt/jcr:content/renditions/page/jcr:content/par/text/text-10
The difference between first search results and second search (removed type=dam:Asset) results is that second query checked inside dam:Asset and returned my results.
Questions is: How the first query is able to return one.txt ? why did it not give two.txt in results?
How to fix this.?
Both docs have been indexed
Thanks,