Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orion-dev] /filesearch not immediately successful

Hi, Hergen:
Further to my previous email, if you call server API to do file name search, you can use wild card. Like below:
"/filesearch?q=NameLower:*pom.xml+Location:/file*" 
But again the index on the server side has to be done first.


The scrawler search also supports the file name search but there is no check box in the Orion file name search UI(CTRL+SHIFT+F) so file name search is not using crawler unless you are working on a non-Orion file system.

Libing


Inactive hide details for Libing Wang---04/25/2014 12:08:07 PM---Hi, Hergen: The crawling search is done purely on client side Libing Wang---04/25/2014 12:08:07 PM---Hi, Hergen: The crawling search is done purely on client side so the server search API

From: Libing Wang/Ottawa/IBM@IBMCA
To: Orion developer discussions <orion-dev@xxxxxxxxxxx>
Cc: Orion developer discussions <orion-dev@xxxxxxxxxxx>, orion-dev-bounces@xxxxxxxxxxx
Date: 04/25/2014 12:08 PM
Subject: Re: [orion-dev] /filesearch not immediately successful
Sent by: orion-dev-bounces@xxxxxxxxxxx





Hi, Hergen:
The crawling search is done purely on client side so the server search API is not involved when regEx option is set. We switch to the crawling search by reading the page parameters in the Orion search page.


>
Can I use the “Regular _expression_” in this call “to force a crawling search”?
Your call
of "/filesearch?q=NameLower:pom.xml+Location:/file/user-OrionContent/folder/* " can not be configured to use regEx. It is not supported on the server side.

Libing



Inactive hide details for "Siefken, Hergen" ---04/25/2014 10:17:49 AM---Dear Ken, your screenshot shows a functionality with wh"Siefken, Hergen" ---04/25/2014 10:17:49 AM---Dear Ken, your screenshot shows a functionality with which I can search for a specific term in a fil

From:
"Siefken, Hergen" <hergen.siefken@xxxxxxx>
To:
Orion developer discussions <orion-dev@xxxxxxxxxxx>
Date:
04/25/2014 10:17 AM
Subject:
Re: [orion-dev] /filesearch not immediately successful
Sent by:
orion-dev-bounces@xxxxxxxxxxx




Dear Ken,

your screenshot shows a functionality with which I can search for a specific term in a files content, right?

I search for a specific file name („pom.xml“).
I use the following call to do this:
/filesearch?q=NameLower:pom.xml+Location:/file/user-OrionContent/folder/*

Can I use the “Regular _expression_” in this call “to force a crawling search”?
If so, how can I do this?

Best regards
 Hergen

From:
 orion-dev-bounces@xxxxxxxxxxx [mailto:orion-dev-bounces@xxxxxxxxxxx] On Behalf Of Ken Walker
Sent:
 Freitag, 25. April 2014 15:46
To:
 Orion developer discussions
Cc:
 orion-dev-bounces@xxxxxxxxxxx
Subject:
 Re: [orion-dev] /filesearch not immediately successful
 

One workaround to this (yes the indexer can be slow to update changes) is to toggle the "Regular _expression_" option to force a crawling search vs. using the index.

We're not happy with the current indexing scheme and are thinking about alternatives.




Ken Walker
Lead of the Orion Project at Eclipse and within IBM | Tools for the Web, On the Web

https://orionhub.org | http://wiki.eclipse.org/Orion | https://hub.jazz.net
@kwalker | @orionhub | @jazzhub




Inactive hide details for "Siefken, Hergen" ---2014/04/25 09:39:47 AM---Dear orion developers, after cloning or fetching I imme"Siefken, Hergen" ---2014/04/25 09:39:47 AM---Dear orion developers, after cloning or fetching I immediately search for a specific file in the git 

    From:

"Siefken, Hergen" <
hergen.siefken@xxxxxxx>
    To:

"
orion-dev@xxxxxxxxxxx" <orion-dev@xxxxxxxxxxx>
    Date:

2014/04/25 09:39 AM
    Subject:

[orion-dev] /filesearch not immediately successful
    Sent by:

orion-dev-bounces@xxxxxxxxxxx





Dear orion developers,

after cloning or fetching I immediately search for a specific file in the git working directory.
I do it with the /filesearch API.
Unfortunately it takes too long until /filesearch finds the file.

I have heard there is an indexer involved. Can this indexer be configured?

The long searching time is really harmful.

The Orion build is 5.0, build date 26 Feb 2014.

Regards
Hergen Siefken

_______________________________________________
orion-dev mailing list

orion-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orion-dev
_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx

https://dev.eclipse.org/mailman/listinfo/orion-dev
_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orion-dev

GIF image

JPEG image

GIF image

GIF image


Back to the top