Comments (2)
temporarily, I've discovered that a column can be excluded, if it is marked as a 'Summary' column, as long as it's not the FIRST summary column.
This is because the TextContentConverter (used by the search indexing process to "read" data from a folder) captures the Title by using the Schema.GetSummarizeColumn() method, which looks for the FIRST field marked as 'Summary', and captures the Body by IGNORING any column marked as 'Summary'.
The ASSUMPTION is that a content type would only have one "summary" column, which the search should include as "Title", while all other fields would be considered "Body".
from cms.
I would also like to add to this...
if it is known which fields SHOULD be indexed, of a given content type... and the search settings indicate which folders (and therefore which content types) WILL be indexed...
I would like to see the Kooboo indicate to Lucene the different content types... including the fields (that SHOULD be indexed) and their field values.
Then, in the QUERY API, search ALL of the indexed fields INDEPENDENTLY (instead of JUST using a title and concatenated body field).
PRESUMABLY, extra field hits would improve its rankings in the results..
but more importantly, there are two new ways to handle search results...
- as before, concatenate the per-field results for "basic" search results
- or, for specific content types, a template can be defined that handles rendering of that type of content... perhaps a "Link" content type should just render an <A HREF... >.
currently, the concatenation of Body fields makes the highlighting of results across multiple fields very tricky... and can be confusing if the fields are unrelated (ie: search for '0' from the SampleSite template can return articles with 0 readings... or, searching for 'ipsum' can return the body of the blog post followed by a 0 (number of readings), which is again confusing)
I am aware that such an effort is a MAJOR overhaul to the way that Kooboo performs its indexing and searching... perhaps it'd be possible to isolate the current behavior into its own "default search" module, with this approach as an "advanced search" replacement module?
from cms.
Related Issues (20)
- Feature Request : Code-based Data Rule
- BUG : Models.Binder.TextContentBinder.ValidateColumn when ErrorMessage == null
- Implement MVC throttle for improved security
- Anything happening with this project? HOT 10
- kooboo 新版本呢? HOT 4
- 我想使用sql server出现异常
- kooboo 新版本预计什么时候发布?
- A/B rule for browser language
- Feature: Extend PagePlugin with View HOT 2
- The project is shutting down? HOT 3
- internal server error 500 displays while using Kooboo template HOT 1
- Bug Disable button on page release 4.5.1.0101
- Bug Editor style shits release 4.5.1.0101
- culture e timezone in settings don't works release 4.5.1.0101
- 在内容模块发现了个BUG,大家看看你们也是不是这样的
- Found a BUG In the content module
- Not able to localize textFolder for subsites in 4.5.1.0101 HOT 1
- Can Kooboo Version 7 run on IIS?
- Do you need Filipino Translation for Kooboo CMS?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cms.