Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Searching Fields and Categories

Quote Reply
Searching Fields and Categories
Hey Alex (or anyone for that matter),

Using a search by field does not work in combination with cid. This is the search criteria combo I have been trying to get to work as I have web pages that need to query my engine this way.
Community=San+Diego&cid=nnn where nnn is cat number and results need to reflect all subcategories below nnn.

Also is there any way we can get this thing to do the search by phrase using quotes (i.e. "Key Words") like is done by the big boys like altavista and infoseek?

Quote Reply
Re: Searching Fields and Categories In reply to
You need to use catid not cid

oops...i think that is wrong.

Paul Wilson. Shocked
(Dont blame me if I'm wrong!)
Quote Reply
Re: Searching Fields and Categories In reply to
Paul is right, you should use catid not cid, as it works fine on our test database.

Phrase searching works on the query=, just not on the filters.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: Searching Fields and Categories In reply to
Alex / Paul,

Using search.cgi?Community=La+Jolla&catid=465 is showing me ALL records with the Community of "La Jolla" not just those under the Category ID of 465 and its subcats. Why is this?

Wil Hatfield

Quote Reply
Re: Searching Fields and Categories In reply to
Hi:

Kinda on this topic, is there a <%VARIABLE_NAME%> we can use so one can search category names directly? (I am assuming <%catid%> is the categoryt NUMBER and not name...

dave

Quote Reply
Re: Searching Fields and Categories In reply to
Im not sure what you mean?

How were you planning on using the <%VARIABLE_NAME%> to perform a search?

Paul Wilson. Shocked
(Dont blame me if I'm wrong!)
Quote Reply
Re: Searching Fields and Categories In reply to
Paul:

No, I just meant that as <%XXXXXXXX%>.... not as specifically Variable Name!

dave

Quote Reply
Re: Searching Fields and Categories In reply to
Whoops, messed up:

Want to know the name of the FIELD I would use in a search to search Category Names....

Like this:
http://www.path/to/search.cgi?WHAT_VARIABLE_NAME_HERE=Flintstones

To search ONLY for category's with Flinstsones in the name of the category... You would use "query=XXX" to search all fields, "Add_Date=2000-12-12" to search for all links added 12/12/2000... can I search Category names specifically and ONLY?

dave

Quote Reply
Re: Searching Fields and Categories In reply to
Dont quote me on this but I dont think Links SQL can currently do this.

Obviously it can be acheived by modifying the code but it doesnt do it "out of the box".

Maybe Alex can clear this up.....it is likely that I am wrong.

Paul Wilson. Shocked
(Dont blame me if I'm wrong!)
Quote Reply
Re: Searching Fields and Categories In reply to
Paul:

Thanks- that is what I thought (as Links and the Categories are different DB's). But it cannot hurt to ask! And it is not mission critical...

d

Quote Reply
Re: Searching Fields and Categories In reply to
FABULOUS!!! The new beta did the trick. I can now search by Field and Category. Thanks Alex.