Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NX: Client Search Requirements

 
Javini Javono
Ranch Hand
Posts: 286
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Sun's directions (edited slightly by me to focus on one field only):

The client-side software
must allow the user to search the data for records
where the name field exactly matches a value specified by the user.

Has anyone out there interpreted this to mean the following:
Case 1
------
name field: "Crystal City Park Hotel" as stored in the database.
client search field: "City"
And considered the above a match?
Case 2
------
name field: "Crystalinks Park Hotel" as stored in the database.
client search field: "links"
And considered the above a match?
----------------------------------------------
I'm not arguing any particular way, just interested in what the common practice is.
Thanks,
Javini Javono
P.S.
Complete ambiguity is removed from the direction if it is rephrased thus:

The client-side software
must allow the user to search the data for records
where the name field in its entirety exactly matches a value specified by the user.
 
Satish Avadhanam
Ranch Hand
Posts: 697
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Javini, good to see your post
Originally posted by Javini Javono:
Hi,
Sun's directions (edited slightly by me to focus on one field only):

The client-side software
must allow the user to search the data for records
where the name field exactly matches a value specified by the user.

Has anyone out there interpreted this to mean the following:
Case 1
------
name field: "Crystal City Park Hotel" as stored in the database.
client search field: "City"
And considered the above a match?

As I provided a checkbox for exact search and if the CSR has selected it and entered "City", I would not return "Crystal City Park Hotel" as we cannot say there might be "Crystal City Garden Hotel", "Diamond City Park Hotel" and others. I would return only "City". Also if the CSR has'nt checked the check box, all I am returning is those records that start with the entered string and those that are in different case.

Case 2
------
name field: "Crystalinks Park Hotel" as stored in the database.
client search field: "links"
And considered the above a match?

Javini, I think it is not advisable to return like these. I mean if the CSR say entered something like "it" it will return all the records with "it" in them not only at the beginning but in the entire word.

----------------------------------------------
I'm not arguing any particular way, just interested in what the common practice is.
Thanks,
Javini Javono
P.S.
Complete ambiguity is removed from the direction if it is rephrased thus:

The client-side software
must allow the user to search the data for records
where the name field in its entirety exactly matches a value specified by the user.

Yes, if requirements are a bit more clear like this, our life's would have been much peaceful. But come on, without this much ambiguity, we don't think, assume and do not use our whole potential right? As a matter of fact we would not have this post too Just kidding....take it easy.

Good Luck
 
Javini Javono
Ranch Hand
Posts: 286
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Thanks for your response.
I have not seen my user interface in a while, since I've been redesigning
and retesting (using JUnit) the entire back end.
I had forgotten that my front-end has a checkbox to allow exact or
inexact matches. And, in my preliminary ideas, I think I was going to
go for an exact match on the complete name field.
However, if someone said to me, "what you type in will be exactly matched
in the name field," I wouldn't be overly surprised if it searched within the
name field. Perhaps I'll offer this as another checkbox: "Search Within".
Thanks,
Javini Javono
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic