Hi Sameera,

Some fields supported by this search feature are not included in RXT. For
example, a process can have associated PDF files and the input provided for
the "Document content" field should match content of such PDF files (using
a Lucene based search). Therefore, I think the default advanced search
feature provided by ES cannot be used here.

Regards,
Chathura


On Mon, Apr 4, 2016 at 12:12 PM, Dilini Mihindra <dili...@wso2.com> wrote:

> Hi Sameera,
>
> I am performing the search from the "Add New Process" page (with the url
> https://localhost:9443/publisher/assets/process/create).
>
> For convenience, I included the code in a document that is attached
> herewith.
>
> Thank you.
>
> Dilini Mihindra Mampitiya Arachchi
> Intern - Software Engineer
> WSO2 Inc.
> Mobile: +94 710 420 550
> Email: dili...@wso2.com
>    <http:///dilinimampitiya.wordpress.com>
> <https://twitter.com/dilu_7392>
>
> On Mon, Apr 4, 2016 at 11:01 AM, Sameera Medagammaddegedara <
> samee...@wso2.com> wrote:
>
>> Hi Dilini,
>>
>> *https://localhost:9443/publisher/assets/process/create?process-name=abc&process-provider=&process-tags=&process-description=&process-version=&process-lcState=&process-owner=
>>> <https://localhost:9443/publisher/assets/process/create?process-name=abc&process-provider=&process-tags=&process-description=&process-version=&process-lcState=&process-owner=>*
>>>
>>> Is this something default provided by ES?
>>>
>> No
>>
>> Instead of searching a process by name only, when a user adds a
>>> sub-process for a new process, I am implementing the functionality to do an
>>> advance search using more filters (ex: name, version, owner, description
>>> etc.)
>>>
>> This functionality is already present in the ES.The search query supports
>> all attributes present in the RXT definition.
>>
>> If so, how can I prevent this to show the search results once the user
>>> submits the form?
>>>
>> Can you please provide the following details:
>>
>>    - From which page are you performing the search?
>>    - Can you please provide a link/source to the custom template files
>>    and the client side JavaScript used to implement the functionality?
>>
>>
>> Thank You,
>> Sameera
>>
>> On Mon, Apr 4, 2016 at 10:26 AM, Dilini Mihindra <dili...@wso2.com>
>> wrote:
>>
>>> Hi all,
>>>
>>> I am currently working on an advance search functionality in the Process
>>> Center. Instead of searching a process by name only, when a user adds a
>>> sub-process for a new process, I am implementing the functionality to do an
>>> advance search using more filters (ex: name, version, owner, description
>>> etc.)
>>>
>>> However, when I enter a value in one of the search fields and click the
>>> search button or press enter, the response is redirected to the following.
>>>
>>> *https://localhost:9443/publisher/assets/process/create?process-name=abc&process-provider=&process-tags=&process-description=&process-version=&process-lcState=&process-owner=
>>> <https://localhost:9443/publisher/assets/process/create?process-name=abc&process-provider=&process-tags=&process-description=&process-version=&process-lcState=&process-owner=>*
>>>
>>> Is this something default provided by ES? If so, how can I prevent this
>>> to show the search results once the user submits the form? Any help would
>>> be highly appreciated.
>>>
>>> Thank you.
>>>
>>> Dilini Mihindra Mampitiya Arachchi
>>> Intern - Software Engineer
>>> WSO2 Inc.
>>> Mobile: +94 710 420 550
>>> Email: dili...@wso2.com
>>>    <http:///dilinimampitiya.wordpress.com>
>>> <https://twitter.com/dilu_7392>
>>>
>>
>>
>>
>> --
>> Sameera Medagammaddegedara
>> Software Engineer
>>
>> Contact:
>> Email: samee...@wso2.com
>> Mobile: + 94 077 255 3005
>>
>
>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to