jwnacnud Posted September 11, 2008 Posted September 11, 2008 I have an indexed field: (Model Number) which houses data such as: "Freud 99-036" or "Freud 44665" and so on. 120k records in the database. Whenever I search for an item with a hyphen in it, it severely hangs, like for 2-3 minutes before returning the results. Is there a solution?
mr_vodka Posted September 11, 2008 Posted September 11, 2008 Have you tried reindexing the field? It is a text field correct? It shouldnt take that long.
comment Posted September 11, 2008 Posted September 11, 2008 How exactly do you "search for an item with a hyphen in it"?
jwnacnud Posted September 11, 2008 Author Posted September 11, 2008 Perhaps I am using the wrong word. I have always assumed that a hyphen and a dash were the same thing. There's a lot I don't know though. It is a text field (indexed, since it is our main field) I go into find mode, select the model number field, and type the following text (without the double quotes): "Freud 99-036" and then click find.
comment Posted September 11, 2008 Posted September 11, 2008 I am not sure what you mean by "dash". Assuming you are using a hyphen (minus), it should work. Make sure that the field indexing is defined as "All" or "Automatically create indexes as needed". Re-indexing the field, as suggested by John, is certainly worth-while. Another test you can perform: click in the field, select Insert > From Index… and check the 'Show individual words' option. See if 99-036 is listed as an individual word.
Recommended Posts
This topic is 5916 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now