MicrostockGroup

Microstock Photography Forum - General => Symbiostock => Symbiostock - Development Area => Topic started by: ajt on June 01, 2013, 12:13

Title: Faster network search
Post by: ajt on June 01, 2013, 12:13
I am testing faster network search code.

Now it runs without cache, to show difference in speed.

Example search:

http://ajotte.com/?s=food&submit=Search&post_type=image (http://ajotte.com/?s=food&submit=Search&post_type=image)

It needs more tests and some adjustment, but I have a question:
Can sites be displayed in random order?
(maybe not random exactly, simply results which came first, will go up, it prefers sites with better connection at the moment)
Or maybe do you want order to be exactly as sites on network list?
This sometimes can be much slower, especially when first sites from network list respond slowly.
Maybe make it as option, what do you think?


Title: Re: Faster network search
Post by: grsphoto on June 01, 2013, 12:31
In todays internet culture, slow is bad.

A random site display based on speed ( and other factors) seems best to me, but being able to adjust what my site displays is the coolest idea.

How about a way for me to weight sites... my favourites... most popular... which ones send me traffic....

Anyway to open up search parameters for us dweebs who don't know how to poke around under the hood?

Glenn
Title: Re: Faster network search
Post by: plrang on June 01, 2013, 12:48
SPEED
but [option] is ok
Title: Re: Faster network search
Post by: cascoly on June 01, 2013, 13:43
In todays internet culture, slow is bad.

A random site display based on speed ( and other factors) seems best to me, but being able to adjust what my site displays is the coolest idea.

How about a way for me to weight sites... my favourites... most popular... which ones send me traffic....

Anyway to open up search parameters for us dweebs who don't know how to poke around under the hood?

Glenn

one of the best ways to get traffic is to link with sites LIKE yours, since people who come to those sites by google are using keywords like yours;  complementary links are only going to be useful if people are coming to your site without an idea of what they want to search for.

leo's going to be adding a search logging csv and that will let us see in more detail what's happening across all sites.  it will include a code for which type of search was done - right now we have 2 - the network list and the extended network list

I've suggested a number of weighted and random search ideas in the other threads on this topic, and those may be added later as plugins or options within the theme
Title: Re: Faster network search
Post by: Leo Blanchette on June 02, 2013, 03:27
A big thank you AJT. This effort you've put in is one of the biggest contributions. I'll be implementing your new code right away and get it uploaded tonight.

The blue box is either a legitimate HTML error or the document tree not updating properly due to the javascript / ajax. It doesn't matter  at this point - its not horrible. The speed as you know is more important.

Here you can see some efforts developing as well - http://www.creativembers.com/ (http://www.creativembers.com/) (she's quiet so I make mention)

There are some very big contributors to this project  (you know who you are! some people not so public) and I want to get them on the front page of Symbiostock for their services/product or at least some credit.

So with a week's notice could anyone who has made big contributions (even in beautifying your own SY site) please contact me so I can set up a link to your site with a possible screenshot as well? Set yourself up a nice landing page with what you do.

AJT this is one of Symbiostock's most valuable functions because it takes all the components and makes them work together fast. Its like the flux capacitor ... which makes time travel (or at least time saving) possible! Great Scott!

Back to the future Infomercial - Flux Capacitor (http://www.youtube.com/watch?v=Or7P9jfhcZ0#ws)
Title: Re: Faster network search
Post by: Kerioak~Christine on June 02, 2013, 08:20
Wow!  That is fast

I would guess that different sites are slower at different times of day so providing the home site appears first (unless it is very slow) then the order does not matter

Title: Re: Faster network search
Post by: ajt on June 02, 2013, 09:57
It is working with cache again :)

Home site is always first and next sites now are in order depending on their speed.
Title: Re: Faster network search
Post by: cathyslife on June 02, 2013, 11:22
It is working with cache again :)

Home site is always first and next sites now are in order depending on their speed.

Thanks so much for your help!
Title: Re: Faster network search
Post by: franky242 on June 03, 2013, 06:02
Wow, I just updated and need to say that the speed is amazing now - both for my site´s results but also for hits within external portfolios - thank you so much both for your joint forces!
Title: Re: Faster network search
Post by: click_click on June 03, 2013, 07:41
I'm not too familiar with the network function yet but for some reason I don't get search results from just the sites I added but from other sites as well.

Let's say I added to my network the sites: 1, 2, 3 by uploading the Symbiocard.

And I perform a search I get results from sites: 9, 1, 8 and 3

Sites 9 and 8 I never uploaded the Symbiocard for nor added them manually.

And 2 doesn't appear in my search results at all.

Just now I did another search term and got results from 12 other Symbiostock sites although I only added 6. Is this the way it's supposed to work?

I'm confused.
Title: Re: Faster network search
Post by: ajt on June 03, 2013, 08:01
Have a look at your symbiostock/marketing page. If you are searching for keyword, that is in Promoted Keywords of any site, these sites also will be searched and will appear. This feature was implemented by Leo. Mine is random order of sites in results :)
Title: Re: Faster network search
Post by: click_click on June 03, 2013, 08:23
Have a look at your symbiostock/marketing page. If you are searching for keyword, that is in Promoted Keywords of any site, these sites also will be searched and will appear. This feature was implemented by Leo. Mine is random order of sites in results :)
Ahh I see, interesting.

Am I supposed to just promote (add check mark to) all the sites I like or is this already a default setting unless I want to exclude a site(s)?
Title: Re: Faster network search
Post by: ajt on June 03, 2013, 08:41
Now all sites are promoted by default (but without checked as excluded), so there is no need to check them.  In future (probably) only sites checked by you will be promoted or there will be other options :)
Title: Re: Faster network search
Post by: cascoly on June 03, 2013, 19:29
Now all sites are promoted by default (but without checked as excluded), so there is no need to check them.  In future (probably) only sites checked by you will be promoted or there will be other options :)


the 10 sites you set  in the network page are still the ones that are checked first.  after that, if some  of them don't return any results, it looks at the extended network list


any sites you check off as 'excluded' are niot supposed to be searched ever.  but earlier Leo said the promoted checkboxwasnt being used right now, so not sure if excluded is being checked

I think this could be simplified by just having one list of sites -- let us select up to 10 to be outr network and those would show at the top of the directory and be searched first - eliminating the need to set up the network separately

later we may be able to come up with different ways to search
Title: Re: Faster network search
Post by: Kerioak~Christine on June 05, 2013, 03:16
One version had the directory being searched, this no longer seems to happen with 2.4.1. only searches network members, is this correct - seeing 16 or so sites come up on the searches was fun.  Are promoted keywords being searched now?
Title: Re: Faster network search
Post by: ajt on June 05, 2013, 03:26
Food is very popular word, my site shows results from 15 network sites, and yours even from 17 :)
Title: Re: Faster network search
Post by: Kerioak~Christine on June 05, 2013, 04:02
I could not get them to show up yesterday evening or this morning which is why I posted - they do show now, strange.  Maybe my network was being a bit slow ?