1
DMarvelus
A development request, Re: search
  • 2006/4/23 14:05

  • DMarvelus

  • Just popping in

  • Posts: 70

  • Since: 2005/1/29


I think it would be great if the whole term that the user used to search could be provided, along with the one that is put in an array and broken up into words with some words removed.

I am working on a module that does not search using the traditional method of full text search with MySql. And for this module the commas are also meaningful. So, it would be helpful if I could get the whole unchanged search string, and do what i want with it.

2
phppp
Re: A development request, Re: search
  • 2006/4/23 14:51

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


Isn't it the "EXACT" mode in XOOPS search?

3
DMarvelus
Re: A development request, Re: search
  • 2006/4/24 1:52

  • DMarvelus

  • Just popping in

  • Posts: 70

  • Since: 2005/1/29


Quote:

phppp wrote:
Isn't it the "EXACT" mode in XOOPS search?


What I mean is that the module itself would have a choice of what format it wants to accept the data in.

For example, I have a location database/geocoding within a locations module.

If the user were to type in:

New York, NY, USA

or

1315 Oakwood Ave, Raleigh, NC 27610

In a search box, the module finds that location and displays a map. The user really would not be thinking about what "Search mode" they are supposed to enter. They may not even know that commas have any special meaning or that they can't search for NY because it's too short.

They just know they are searching for a location, which should be found when they type it in. If they entered it in a search block, they wouldn't even have a choice of "search mode" anyway.

I would like for modules to be able to choose that they want the data in EXACT mode. Because for this module it really doesn't make too much sense in any other mode.

By the way, why is the default shortest word length set to 5?

4
DMarvelus
Re: A development request, Re: search
  • 2006/4/25 2:44

  • DMarvelus

  • Just popping in

  • Posts: 70

  • Since: 2005/1/29


no responses i guess.

Login

Who's Online

429 user(s) are online (341 user(s) are browsing Support Forums)


Members: 0


Guests: 429


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits