defindex(self):result=VersionedArtifact.index(self)result.update(title=self.title,# Here -======version_i=self.version,type_s='WikiPage',text=self.text)returnresult
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Looks like indexing and field-based search is correct, and it is the default search behavior that needs to be tweaked to search on the "title" field and not just "text" field.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi.
I checked this. In schema title is correctly defined
<field name="title" type="text_general" indexed="true" stored="true" multiValued="true"/>
stored and indexed are true means those can be displayed and indexed
In solr query runner also it is not working. Not sure what is the problem
Also in model it is correcty implemented
And noticed that if wiki page title is
open source
q=open
will not give any results but q=title:open
gives the resultLooks like indexing and field-based search is correct, and it is the default search behavior that needs to be tweaked to search on the "title" field and not just "text" field.