Search is working again
Hey folks,
Just wanted to let everyone know that we've got search indexing working again. Near as I can tell, it looks like the problem was due to a couple of corrupt nodes (out of about 60,000) causing the search index function to throw an exception, and then stop dead. I've patched the Drupal instance it so if it ever runs into this issue again, it'll log a warning and keep indexing.
At any rate, the short version is that everything should be indexed now, so search should be useful again. We'll keep an eye on it and make sure it continues to work properly.
Bart
- bart's blog
- Log in or register to post comments
Comments
THATS GREAT!, thanks Bart for sorting the problem out, hope things are good with you and your family.all the best.
Yay!
yay! Thanks again for chasing this down bart!
Thanks! You are awesome :D
Hmm...
Two recent submissions not appearing in search:
http://opengameart.org/content/dog-low-poly-rigged
vs
Search for 'dog':
http://opengameart.org/art-search-advanced?keys=dog&title=&field_art_tag...
http://opengameart.org/content/hatchling
vs
Search for 'hatchling':
http://opengameart.org/art-search-advanced?keys=hatchling&title=&field_a...
also tried 'Reborn', 'weekly' and 'challenge' (key words from description field) and didn't get this work to appear.
Okay, thanks for the heads up. I'll check into it.
Both seems to be working now. They were fairly recent when I was testing them out, is there a known lag between when a submission is made and when it gets indexed into search?
Yes, there is. Search indexing is a cron job, so it doesn't happen immediately when items are submitted. Off the top of my head, I'm not sure if it's done hourly or daily.
just trying the search for "challenge reborn" and it fails with the message "Unable to find term: challenge reborn", but if I just search for "reborn", it works.
Is there a special way of specifying two tags?
It is correct when it says there are no submissions containing the term "challenge reborn". There are LOTS with the term "challenge" and many with the term "reborn", but none with the two words together anywhere in the title, description, or comments of any submission.
To search for tags, be sure you're entering them into the tags field (advanced search fields will show up on the left pane after the basic search is used once). Searching the tags for those terms returns about 5 results... but only if you are searching for the two tags "challenge, reborn" and not a single tag "challenge reborn" (Remember: tags are comma-delimited. without the comma, it is one tag with two words in it, not two one-word tags.)
Hope that helps :)
ahhh, the tag field is comma delimited! I didn't know that!
Do you think you could add a little note to state that?
...huh. It has a note about comma-delimited tags when adding them to submissions, but I never noticed it has no mention of it in the advanced search.
Done!
Thanks MedicineStorm :)
There are a lot of wrong tags; space separated and/or hashed. I don't know if the search function considers that. If not it would be nice at least the submission page warned people not to use hashtags and separate not with space.
It prompts submitters to enter a comma separated list of tags, but what kind of warning would be effective beyond that? It seems a lot of submitters don't pay attention to the "comma separated" note, so what are we thinking instead? What would be more effective? Red text or something?
I doubt this is very easy to implement, but I think it would be helpful if a warning popped up when the user hits the submit button and the site detects one big fat long tag: "It looks like you are trying to enter multiple tags, but have not separated them with commas. Is this what you want?"
Why not just take tags as space separated? I assume the original idea was to allow tags with spces but I don't know that anyone uses it that way.
Red text would be better than the current white text on blue background.
@capbros, then someone would definitely use something other than space
A better way is forcing/allowing tags to be added one by one.
@mold: I understand your sentiment but space is the most common and natural separator there is. Moreover, thanks to the twitter people are well trained to not use spaces in 'tags'. So while I know what you are getting at, I don't think taking space for a tag separator should be dismissed quite so readily.
combine mongoDB and Elasticsearch. It will solve all your problems!
cool. show us how it's done, jonhbrain.