Facetted Search Catagories and Tags Split Up

Description

Steps to reproduce:

  1. Create Categories: 'test one' and 'test2'

  2. Create Web Content article, name doesn't matter, give it all of the above categories

  3. Add the Search Portlet to any page

  4. Search for 'test'

  5. Search for 'test one'

Expected result: step 4 should return nothing, because there is no category named 'test', but step 5 should find the web content article. In both step 4 and 5 the categories in the left column should be 'test one' and 'test2'.

Actual result: step 4 returns the web content article. Step 5 returns nothing. The columns on the left are 'test', 'one', and 'test2'

The same problem exists with tags as well, and can be tested using the steps above (except with tags instead of categories).

Selecting categories made up of two words displayed beneath results, results in nothing found See LPS-24140.

Environment

Tomcat 7

Attachments

2
  • 01 Feb 2012, 08:55 AM
  • 14 Dec 2011, 02:47 PM

Activity

Show:

Sharry Shi February 15, 2012 at 9:00 PM
Edited

PASSED Manual Testing following the steps in the description.

Reproduced on:
Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: ba37e0b9a838457715e15dae0cc8680f54767dc6.
Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: e0270026a76fb6cdbc0c9d607fe976a043a05836.

You can find that the categories show in a wrong way.

Fixed on:
Tomcat 7.0 + MySQL 5. 6.1.x GIT ID: aa7b37108ca104133f126ed154d1451efd284790.
Tomcat 7.0 + MySQL 5. 6.2.x GIT ID: 6535813184f8681e14487b205c17df1caee259d0.

You can find that the categories show in a right way.

Michael Saechang February 13, 2012 at 10:27 AM

Committed on:
6.1.x GIT ID: 5b5c1ebf3dc030fd0a1fff2cc3d0de66538fbf04.
6.2.x GIT ID: 7d2307f609c411df835867e9df181984b92dab22.

Jan Tošovský February 9, 2012 at 10:59 AM

Together with this you can also fix a category casing http://issues.liferay.com/browse/LPS-25447 winking face

Jonathan Potter February 9, 2012 at 10:25 AM

Ok, that sounds good, glad to know it's fairly intuitive. I'll implement it that way then. Thanks for the input!

Jan Tošovský February 8, 2012 at 11:53 AM

I'd expect tags/categories will be indexed as exact phrases (lucene keywords). For searching a standard query syntax can be combined according to user needs. For faceted search exact phrase (with quotes) would be searched. In standard search one can choose exact phrase, single words or boolean operators (but AND doesn't work correctly, http://issues.liferay.com/browse/LPS-25412). Wildcards at the beginning are ignored. These at the end cause very slow responses so I try to avoid them.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Labels

Branch Version/s

6.1.x

Backported to Branch

Committed

Fix Priority

3

Affects versions

Priority

Zendesk Support

Created December 14, 2011 at 2:47 PM
Updated June 24, 2023 at 3:44 PM
Resolved March 12, 2012 at 2:27 PM