You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@allura.apache.org by Dave Brondsema <da...@brondsema.net> on 2015/12/08 23:49:43 UTC

[allura:tickets] #8030 Include title in search matches



---

** [tickets:#8030] Include title in search matches**

**Status:** open
**Milestone:** unreleased
**Labels:** search 
**Created:** Tue Dec 08, 2015 10:49 PM UTC by Dave Brondsema
**Last Updated:** Tue Dec 08, 2015 10:49 PM UTC
**Owner:** nobody


Titles are not currently matched when searching.  Tested with wiki pages and blog posts.  It should have high relevancy too.


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] Re: #8030 Include title in search matches

Posted by Dave Brondsema <da...@brondsema.net>.
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.


---

** [tickets:#8030] Include title in search matches**

**Status:** open
**Milestone:** unreleased
**Labels:** search 
**Created:** Tue Dec 08, 2015 10:49 PM UTC by Dave Brondsema
**Last Updated:** Fri Oct 26, 2018 07:26 AM UTC
**Owner:** nobody


Titles are not currently matched when searching.  Tested with wiki pages and blog posts.  It should have high relevancy too.


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] Re: #8030 Include title in search matches

Posted by Shalitha Suranga <sh...@gmail.com>.
And noticed that if wiki page title is `open source`  q=`open` will not give any results but q=`title:open` gives the result


---

** [tickets:#8030] Include title in search matches**

**Status:** open
**Milestone:** unreleased
**Labels:** search 
**Created:** Tue Dec 08, 2015 10:49 PM UTC by Dave Brondsema
**Last Updated:** Fri Oct 26, 2018 06:04 AM UTC
**Owner:** nobody


Titles are not currently matched when searching.  Tested with wiki pages and blog posts.  It should have high relevancy too.


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] Re: #8030 Include title in search matches

Posted by Shalitha Suranga <sh...@gmail.com>.
Also in model it is correcty implemented 

```python
    def index(self):
        result = VersionedArtifact.index(self)
        result.update(
            title=self.title , # Here -======
            version_i=self.version,
            type_s='WikiPage',
            text=self.text)
        return result
```


---

** [tickets:#8030] Include title in search matches**

**Status:** open
**Milestone:** unreleased
**Labels:** search 
**Created:** Tue Dec 08, 2015 10:49 PM UTC by Dave Brondsema
**Last Updated:** Fri Oct 26, 2018 06:03 AM UTC
**Owner:** nobody


Titles are not currently matched when searching.  Tested with wiki pages and blog posts.  It should have high relevancy too.


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.

[allura:tickets] #8030 Include title in search matches

Posted by Shalitha Suranga <sh...@gmail.com>.
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


---

** [tickets:#8030] Include title in search matches**

**Status:** open
**Milestone:** unreleased
**Labels:** search 
**Created:** Tue Dec 08, 2015 10:49 PM UTC by Dave Brondsema
**Last Updated:** Tue Dec 08, 2015 10:49 PM UTC
**Owner:** nobody


Titles are not currently matched when searching.  Tested with wiki pages and blog posts.  It should have high relevancy too.


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.