Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search Implementation #8

Open
GoogleCodeExporter opened this issue Mar 15, 2015 · 0 comments
Open

Search Implementation #8

GoogleCodeExporter opened this issue Mar 15, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

The search implementation is described below.

1) Search configuration -- 

 * The search configuration must describe what fields are searchable on a content type. e.g. for a motion we should be able to specify  e.g.

<searchins>
    <searchin value="title" field="bu:shortName">Title</searchin>
    <searchin value="body" field="bu:body">Body</searchin>
    <searchin value="docno" field="bu:registryNumber">Doc No.</searchin>
</searchins>

which states that the title, body and docno are searchable.

value - is a short-identifier 
field - is the specific element / or attribute that we want to search for
the text in the element is the literal shown to the user.

the information in field is used to build the search query on the document 
dynamically. This is then eval-ed into a full-text search query.

2) Search behavior -- 

 - Search results must look like listings
 - Search results must be ordered based on the order-by parameter.

Logically the ordering should also be included in the search query eval, but 
this can be implemented separately. 





Original issue reported on code.google.com by ashok.ha...@gmail.com on 30 Nov 2011 at 2:54

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant