Feature request: Option to limit search to my projects

17 views
Skip to first unread message

jon...@gmail.com

unread,
Oct 4, 2016, 4:12:42 AM10/4/16
to SEEK Developers
I search FAIRDOMHub a lot and would like results in my project to display more prominently.
Either show only results in my projects, with an option to expand search to all projects,
or list hits in my project at top.

For instance,
https://fairdomhub.org/search?q=rnaseq
brings up 24 results, but only 9 belong to projects that I'm part of.

Is there already some way to limit search to own projects? Otherwise, is this an enhancement that other people would find useful?

Thanks,
Jon Olav

Stuart Owen

unread,
Oct 4, 2016, 9:47:54 AM10/4/16
to seek-de...@googlegroups.com
Hi Jon,
    We did have some work taking place related to this, to provide filtering of search results, and also the index pages.
    It was never quite ready for release, but we are currently revisiting it and looking at what the minimum changes and fixes are needed to make it ready.
    I've attached a screenshot to give an idea.
    I can't give a time frame right now, but should be available soon. It is something we have very recently been discussing and fitting into our workplan.

regards,
Stuart.
--
You received this message because you are subscribed to the Google Groups "SEEK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seek-develope...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

publications.png

Jon Olav Vik

unread,
Oct 4, 2016, 12:27:19 PM10/4/16
to Stuart Owen, seek-de...@googlegroups.com
Thanks. The screenshot looks good! I would like some way to persist the filter setting between sessions. The simplest may be to make it part of the GET query string, in which case I can work it into my search shortcut. So entering "seek rnaseq" in my browser's address bar would go to
https://fairdomhub.org/search?q=rnaseq&project=GenoSysFat+DigiSal
or something.

Best regards,
Jon Olav



To unsubscribe from this group and stop receiving emails from it, send an email to seek-developers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "SEEK Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/seek-developers/7UpH-H65wlo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to seek-developers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Jon Olav Vik

unread,
Nov 15, 2016, 7:56:05 AM11/15/16
to Stuart Owen, seek-de...@googlegroups.com
Any updates on the ability to filter search hits by project? (Or list assets in own projects first.) It would be helpful for cases like https://fairdomhub.org/search?q=rna#assays

Best regards,
Jon Olav

On Tue, Oct 4, 2016 at 3:45 PM, Stuart Owen <stuar...@manchester.ac.uk> wrote:

stuar...@manchester.ac.uk

unread,
Nov 15, 2016, 8:33:59 AM11/15/16
to Jon Olav Vik, seek-de...@googlegroups.com

I did raise a JIRA issue to see if there was a simple solution using Id's instead of text, but nobody has got around to looking into it yet: https://jira-bsse.ethz.ch/browse/OPSK-1001

stuar...@manchester.ac.uk

unread,
Nov 15, 2016, 8:50:10 AM11/15/16
to Jon Olav Vik, seek-de...@googlegroups.com

Incidentally, you can already do your example with:

https://fairdomhub.org/search?q=rna&search_type=assays

regards,
Stuart.


On 15/11/16 12:55, Jon Olav Vik wrote:

Jon Olav Vik

unread,
Nov 15, 2016, 9:10:23 AM11/15/16
to stuar...@manchester.ac.uk, seek-de...@googlegroups.com
Nice. Looking forward to queries ending with
&project=34+37

8-)

--
You received this message because you are subscribed to a topic in the Google Groups "SEEK Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/seek-developers/7UpH-H65wlo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to seek-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

stuar...@manchester.ac.uk

unread,
Nov 15, 2016, 9:14:24 AM11/15/16
to Jon Olav Vik, seek-de...@googlegroups.com

I'm looking into it now

stuar...@manchester.ac.uk

unread,
Nov 15, 2016, 10:39:29 AM11/15/16
to seek-de...@googlegroups.com

OK, I've looked into and as suspected we can re-use some of the behaviour for nested routing that already exists to get half-way there :)

What

fairdomhub.org/projects/34/assays - which internally gets translated to pass the param project_id=34 to the assay index page.

This means that it is possible to search and filter based on a single id, but sadly at the moment for not for a list of multiple ids.

Once FAIRDOMHub is updated you will be able search using:

fairdomhub.org/search?q=rna&project_id=34

If you prefer cleaner Restful routes I also included the ability to do:

fairdomhub.org/projects/34/search?q=rna

At the moment I'm reluctant to take this further to support filtering by multiple id's, as there is currently some work being investigated and carried out at the moment related to this, and I don't want to duplicate effort and/or add something that would be later removed. Hopefully, once that work is finished we will be able to tie things together in a future SEEK version.

We will let you know when FAIRDOMHub is updated.

regards,

Stuart.

You received this message because you are subscribed to the Google Groups "SEEK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seek-develope...@googlegroups.com.

stuar...@manchester.ac.uk

unread,
Nov 16, 2016, 5:25:09 AM11/16/16
to seek-de...@googlegroups.com

The server was updated last night: https://fairdomhub.org/projects/38/search?q=salmon#assays

(note you can also include the # to select the tab if necessary)

Jon Olav Vik

unread,
Nov 16, 2016, 7:30:39 AM11/16/16
to stuar...@manchester.ac.uk, seek-de...@googlegroups.com
Fantastic. Thanks!

To unsubscribe from this group and stop receiving emails from it, send an email to seek-developers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "SEEK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seek-developers+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "SEEK Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/seek-developers/7UpH-H65wlo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to seek-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Stuart Owen

unread,
Nov 11, 2021, 6:27:17 AM11/11/21
to Jon Olav Vik, seek-de...@googlegroups.com
Hi Jon Olav,

I will raise an issue and take a look. I not aware of a particular change would have stopped this working.
In the meantime, if you know the item type (e.g. DataFile) you are looking for, you can do this within the Browse explorer with filtering, e.g.

https://fairdomhub.org/data_files?filter%5Bproject%5D=34&filter%5Bquery%5D=rna

thanks,
Stuart

On 11/11/2021 08:55, Jon Olav Vik wrote:
Dear Stuart et al.,

As of 2021-11-11, the option to search within projects seems not to be working anymore.


both return 708 items (173 data files), many of which are not in project 34, e.g.

Would it be possible to have this option restored? The option to type "gsf rna" into my browser's address bar, using a "gsf" search shortcut for GenoSysFat, has been very useful in the past.

Best regards,
Jon Olav



To unsubscribe from this group and all its topics, send an email to seek-develope...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "SEEK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seek-develope...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "SEEK Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/seek-developers/7UpH-H65wlo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to seek-develope...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Stuart Owen

unread,
Nov 17, 2021, 10:02:23 AM11/17/21
to seek-de...@googlegroups.com
Hi Jon Olav,

I've been looking into this, and it isn't as simple as I thought to re-introduce the old feature, as it was replaced with the new filtering.
Before I dig deeper and thinking of a clean way to fix it, could I check first the alternative filtering ( e.g.
https://fairdomhub.org/data_files?filter%5Bproject%5D=34&filter%5Bquery%5D=rna ) already solves the problem for you?

thanks,
Stuart

Stuart Owen

unread,
Nov 17, 2021, 11:13:59 AM11/17/21
to Jon Olav Vik, seek-de...@googlegroups.com
That's great, and thanks for the quick response.

cheers,
Stuart

On 17/11/2021 15:43, Jon Olav Vik wrote:
Sorry, I missed the fact that this was filtering on project too; I just saw Data File and stopped thinking.

That workaround will do nicely, thank you. I'll make shortcuts for investigations, studies, assays, sops and data files, and on the rare occasions I'm not sure what asset type to look for, trying them all will be quick.

Thanks!

From: seek-de...@googlegroups.com <seek-de...@googlegroups.com> on behalf of Stuart Owen <stuar...@manchester.ac.uk>
Sent: Wednesday, November 17, 2021 4:02:17 PM
To: seek-de...@googlegroups.com <seek-de...@googlegroups.com>
Subject: Re: Feature request: Option to limit search to my projects
 
Reply all
Reply to author
Forward
0 new messages