Would It be possible to add a search feature where you could search by dimensions?

P1nkGh0st 1/16/2023 10:54 am 413

Like, for example, you could search cuffs for 30x9? I'm sorta stuck right now and this would be really helpful for making my kandi purse.

7 Replies

Sorry, you are unable to reply. If the thread is still open, you might have been blocked from commenting due to spam or abuse, or we might not have been able to verify that you are a real account. Try updating your profile and interacting more on the site. There are greater restrictions on forum comments due to spam. Spam comments will still not be published, even for verified accounts
Displaying 1-7 of 7 comments
Sort by:
Jan 18, 2023 12:47 pm

@Crumpet: Thanks that helps me understand a little bit more! It's super interesting to me anyways happy

Jan 18, 2023 12:34 pm

@P1nkGh0st: It wouldn’t be a waste. Whatever I do would likely involve the creation of at least one new variable somewhere, but it’s only a tiny part of the solution so it’s not going to help me much. I already have the width and height of patterns stored in a database table, and then I have classes which represent each table so there are already variables called $num_columns, $num_rows or something like that for the pattern class.

But the search server doesn’t directly use that table nor that class. It has its own separate database tables and configuration. It pulls data from the other tables and indexes all of the information in different ways so that it can be queried more effectively. Also, I have to use a command line interface to communicate with the search server. It’s kind of like a virtual machine running on top of a virtual machine. So it’s kind of a weird setup. I’m only telling you all of this since you said you were interested laugh

Jan 18, 2023 10:59 am

@Crumpet: This is probably a waste of time, but maybe you could create a new variable? I'm not sure how that would work, and if there's probably over 500,000 patterns or something it would probably be a waste-

Jan 18, 2023 9:59 am

@Crumpet: with every thing you say, I just get more and more curious about the coding of this website-

Jan 17, 2023 1:00 am

@P1nkGh0st: it’s fine. You’re actually not the first person to ask for this. The tricky part is that if it’s not indexed, I can’t index new fields without recreating the entire search index. And with how old it is, I’m scared that might break it scared At the very least, I’d have to set aside a fair chunk of time to be able to address any issues, and it might take search offline for a while.

But there might be a somewhat helpful option that doesn’t involve the search server anyway, like sorting by size or I could have a separate screen for searching by size since searching by numbers doesn’t require the complex logic that the search server uses anyway.

Jan 16, 2023 12:44 pm

@Crumpet: That makes sense! I hope someday I can help you with the website, I'm not really the best at coding right now. I'm sorry for making all these suggestions, I'm probably stressing you out ;^^

Jan 16, 2023 12:39 pm

I can add it to my list to look into, but I’m not sure how difficult it would be off the top of my head. We use a search server and I’m not sure whether the dimensions are already being indexed or not.