Replies: 2 comments 5 replies
-
You create a new Lucene Index that you can name "BlogIndex" and on the index settings you select only the content type(s) you want to be indexed in that index. For example here you would only index BlogPost content type. The Full-Text settings will remain on each Content Type definition but the Index will only parse it for that specific content type. Then, you go to the "Configure Search Settings" admin page, select that new Lucene Index you created and you keep the "Content.ContentItem.FullText" as the "default searched fields". Now, since you are only indexing "BlogPost" it should only return results of that content type from the index. |
Beta Was this translation helpful? Give feedback.
-
The issue here is that the Global Search Form can be used with only one Lucene Index at a time. And allowing to use a different Index from a QueryString param could be something to consider in the future, as long as we have permissions on these Indices it should be fine to allow overriding the default LuceneSettings from the Search Form itself. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
As i have conent type: Blog inside that there is alot of blog posts need to search inside of that content type of blog just, how can i limit full text search based on that content type?
As i see post full text search here:
https://docs.orchardcore.net/en/dev/docs/guides/implement-fulltext-search/
Beta Was this translation helpful? Give feedback.
All reactions