Doubt regarding search
Hi, Can I search based on a field in the structured content. Say for example, there are multiple structured documents which has User Details like Name, Age, Address, Date of birth, Company Address, Description etc. Can I do a search for all the users in a particular company i.e., a search taking into consideration Company Address field only. Let me describe it : if a user "roopesh" has Company Address field as "digital glue", then a search for digital glue should return roopesh. But if a user "roopesh" has Company Address field as "cdac" and Description field has a word "digital glue", then the search for digital glue should not return roopesh). Is this possible in xwiki? (Please tell me if my query needs more explanation). Regards Roopesh
Brief answer: sure. But not using standard search screens. In order to make this kind of search you would need to probably create a new tool / update the existing search tools. It's fairly straightforward, if you look over the existing code for the default search you'll see a lot of pointers on how it's done. Just don't forget to escape your "'" ;-). -----Original Message----- From: [email protected] [mailto:[email protected]] Sent: 08 June 2007 07:02 To: [email protected] Subject: [xwiki-users] Doubt regarding search Hi, Can I search based on a field in the structured content. Say for example, there are multiple structured documents which has User Details like Name, Age, Address, Date of birth, Company Address, Description etc. Can I do a search for all the users in a particular company i.e., a search taking into consideration Company Address field only. Let me describe it : if a user "roopesh" has Company Address field as "digital glue", then a search for digital glue should return roopesh. But if a user "roopesh" has Company Address field as "cdac" and Description field has a word "digital glue", then the search for digital glue should not return roopesh). Is this possible in xwiki? (Please tell me if my query needs more explanation). Regards Roopesh
participants (2)
-
Esbach, Brandon -
roopesh@digitalglue.in