- Posts: 8
- Thank you received: 0
How do I cross search multiple keyword items?
- topgun21
- Topic Author
- Offline
- New Member
Less
More
12 years 5 months ago #823
by topgun21
How do I cross search multiple keyword items? was created by topgun21
My client has about 100 chemical publications put into our Joomla install. They've asked me to build a search that has 3 text area search fields: Year, Chemical, and Author. They want the web visitor to be able to run a search against the Publications by putting keywords into the fields.
So they might search for: 1992, benzene, Smith. So all three fields need to filter the search results by year, chemical name and/or author's name. How do I make the search do this?
So they might search for: 1992, benzene, Smith. So all three fields need to filter the search results by year, chemical name and/or author's name. How do I make the search do this?
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
12 years 5 months ago #827
by andrea_4g
Replied by andrea_4g on topic Re: How do I cross search multiple keyword items?
You need 3 Cp fields: [Year], [Chemical], [Author]
1) Enter all possible years as values for the [Year] field. This is a good candidate for a 'text' field type.
2) Enter all chemicals names as values for the [Chemical] field. This would likely be an autocomplete or a multiselect with picker interface field type.
3) Enter all authors names as values for the [Author] field. As above.
4) Assign tags to publication articles (it works also with K2 items).
5) Publish the cpsearch module.
6) Enjoy
1) Enter all possible years as values for the [Year] field. This is a good candidate for a 'text' field type.
2) Enter all chemicals names as values for the [Chemical] field. This would likely be an autocomplete or a multiselect with picker interface field type.
3) Enter all authors names as values for the [Author] field. As above.
4) Assign tags to publication articles (it works also with K2 items).
5) Publish the cpsearch module.
6) Enjoy
The following user(s) said Thank You: topgun21
Please Log in or Create an account to join the conversation.
- topgun21
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
12 years 3 months ago #919
by topgun21
Replied by topgun21 on topic Re: How do I cross search multiple keyword items?
So if I'm understanding you correctly, I have to go into each of the 150 articles and add tags for cross-filtering to work? If the words are already in the article, won't that work as a tag?
Adding tags to 150 articles is going to be an insane amount of work. Is there any other way? Like would 3 free text fields work in cross-filtering?
Adding tags to 150 articles is going to be an insane amount of work. Is there any other way? Like would 3 free text fields work in cross-filtering?
Please Log in or Create an account to join the conversation.
- andrea_4g
- Offline
- Administrator
Less
More
- Posts: 1122
- Thank you received: 163
12 years 3 months ago #925
by andrea_4g
Custom Properties lets you perform a keyword search on title, introtext and fulltext fields. The query mode is selectable (all words, any words, exact phrase). However, searching by tags is MUCH more accurate. E.g. the text of the article might contain a series of digits that can be interpreted as year of publication while insetat it's part of some formulas. The text could also contain references to chemicals unrelated to book itself (i.e. chemical product ALPHA (unlike chem product BETA) has properties such and such.)
Replied by andrea_4g on topic Re: How do I cross search multiple keyword items?
Yes, you have to.So if I'm understanding you correctly, I have to go into each of the 150 articles and add tags for cross-filtering to work?
No they won't. Tags are more accurate.If the words are already in the article, won't that work as a tag?
Custom Properties lets you perform a keyword search on title, introtext and fulltext fields. The query mode is selectable (all words, any words, exact phrase). However, searching by tags is MUCH more accurate. E.g. the text of the article might contain a series of digits that can be interpreted as year of publication while insetat it's part of some formulas. The text could also contain references to chemicals unrelated to book itself (i.e. chemical product ALPHA (unlike chem product BETA) has properties such and such.)
We do not have first hand experience in this field, but we've witnessed *thousands* of articles tagged in a short period of time. The job can be done in one day, tagging 20 articles in one hour.Adding tags to 150 articles is going to be an insane amount of work. Is there any other way?
As I wrote above a text search will work, but the quality (relevance) of the results will be totally underwhelming. (BTW, you could be using the standard Joomla search and avoid CP altogether).Is there any other way? Like would 3 free text fields work in cross-filtering?
Please Log in or Create an account to join the conversation.
- crashtackle
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 0
10 years 7 months ago #1799
by crashtackle
Replied by crashtackle on topic Re: How do I cross search multiple keyword items?
Just to jump in here and say I found the tagging of masses of articles pretty easy using the 'Assign Custom properties' tab.
I then using the section and category filters to help group the articles I needed tagged.
Using the tick boxes to select all the items and tagging all of them at once from there.
I then using the section and category filters to help group the articles I needed tagged.
Using the tick boxes to select all the items and tagging all of them at once from there.
Please Log in or Create an account to join the conversation.
Time to create page: 0.169 seconds