I'm going to be entering my second year of a PhD program, which I entered straight from undergrad. I haven't published anything yet, neither since I started my PhD program or as an undergrad.
I'm currently working on a project that, should I choose to continue with, should go on for a year a two. It has only the slightest relation to the area I'd ultimately want to do my research in, if at all. That said, I'm doing well, and I think this could lead to publications if I continue down my current path. There may not be funding available for the exact type of research I'd like to be doing in the immediate future, but this project may be a one or two year commitment.
My question is, am I better off continuing with the project to get some publications, or waiting an indeterminate amount of time for something closer to my original interest to come along? If that's too vague, then are there any general guidelines for me to follow?
If it matters, my field is CS.
Thanks in advance for any help.
I haven't published anything since I began my PhD.
Did you publish a lot before starting your PhD or do you mean more generally you just haven't published? (i.e., is there a reasonable expectation you know whether a direction is fruitful for publication or not? As ff524 suggests talk to your advisor about this).