cancel
Showing results for 
Search instead for 
Did you mean: 

Search not yielding results

rockshore
Champ in-the-making
Champ in-the-making
CentOS 5.5 x86_64
Alfresco-3.4.d

When I search for any file in Alfresco Share, nothing is returned.

After having done some reading, I've seen anecdotal evidence that the headless Open Office include could be suboptimally configured, which may still be the case (although it is a fairly vanilla install); but search isn't even returning .txt files.

I've tailed the log files when searching and nothing jumps out.

Can anyone suggest anything I might be missing, be it how to diagnose or resolve?

Thanks in advance for your input.
9 REPLIES 9

andy
Champ on-the-rise
Champ on-the-rise
Hi

What query are you running and how?
Why do you think this should match anything?

Andy

rockshore
Champ in-the-making
Champ in-the-making
Thank you for your reply.

I'm running a number of queries including file names and strings found in files' contents. Whatever I enter into Search, nothing is returned.

rockshore
Champ in-the-making
Champ in-the-making
*BUMP*

gnyce
Champ in-the-making
Champ in-the-making
Does a search on a filename work?  Try this in the search bar… let's assume I have a file called File014.doc.  What happens if use the syntax like this?

keywords:file01*

If you have any dashes or punctuation in the filename (e.g. FIle-014.doc), you need to include quotes, like this:

keywords:"File-014*"

Do you get any results that way?  Does a trailing asterisk help at all?

How about some more details… like what format of documents do you have in here (pdf, doc, xls, ?).

rockshore
Champ in-the-making
Champ in-the-making
Thank you for your suggestions.

I've tried:

keywords:infrastructure-change-log.txt

keywords:infrastructure*

keywords:*-change-log.txt

I've also tried similar variations on PDF and DOCX files.

I've read in similar postings that the lucene index might need rebuilding, but I don't want to do so unnecessarily if anyone can suggest anything else.

I'd be grateful of any advice you can offer as search simply is not working no matter we I try.

gnyce
Champ in-the-making
Champ in-the-making
You _can_ rebuild the indexes… it's not a horrible process, just a config-option read on Alfresco startup, and the amount of time it takes depends on how much content you have in there.  We dont' have alot of content, so it takes less than 5 mins for a dozen gigs or so.  Yes, Lucene does the indexing, so I dont' see openoffice figuring in here at all. 

In your example below, the searches with dashes in them would have failed b/c you did not include it in quotes, like this:

keywords:"infrastructure-change*"

But if you truly have a file named infrastructure-change-log.txt, then I would have thought that keywords:infrastructure* would have worked.  What about keywords:infra*

Grasping at straws here, frankly….  no language or charset issues?

rockshore
Champ in-the-making
Champ in-the-making
I accidentally happened across some anecdotal evidence of someone not having indexing work as they'd uploaded files *after* enabling Open Office.

This prompted me further to do a full lucene index rebuild.

10:14:53,543  INFO  [node.index.FullIndexRecoveryComponent] Index recovery started: 23,877 transactions.
10:15:35,549  INFO  [node.index.FullIndexRecoveryComponent]    10 % complete.
10:16:08,509  INFO  [node.index.FullIndexRecoveryComponent]    20 % complete.
10:17:54,279  INFO  [node.index.FullIndexRecoveryComponent]    30 % complete.
10:18:29,226  INFO  [node.index.FullIndexRecoveryComponent]    40 % complete.
10:19:03,674  INFO  [node.index.FullIndexRecoveryComponent]    50 % complete.
10:20:00,275  INFO  [node.index.FullIndexRecoveryComponent]    60 % complete.
10:20:35,884  INFO  [node.index.FullIndexRecoveryComponent]    70 % complete.
10:21:28,394  INFO  [node.index.FullIndexRecoveryComponent]    80 % complete.
10:22:05,962  INFO  [node.index.FullIndexRecoveryComponent]    90 % complete.
10:22:44,213  INFO  [node.index.FullIndexRecoveryComponent]    100 % complete.
10:27:19,472  INFO  [node.index.FullIndexRecoveryComponent] Index recovery completed.
10:27:19,488  INFO  [node.index.AVMFullIndexRecoveryComponent] Rebuilding indexes for 1 AVM Stores
10:27:19,489  INFO  [node.index.AVMFullIndexRecoveryComponent]     Rebuilding index for sitestore
10:27:19,614  INFO  [node.index.AVMFullIndexRecoveryComponent]   Reindex   100% complete
10:27:19,614  INFO  [node.index.AVMFullIndexRecoveryComponent] Finished rebuilding indexes for AVM Stores

Regardless, I've now completed a re-index. I understand that it then takes some time as some post-indexing task has to then collate all the names - can you qualify this?

I've just tried keywords:infra* and not had anything returned as yet, but I'll keep you posted.

Thanks again - really appreciate your guidance.

andy
Champ on-the-rise
Champ on-the-rise
Hi

How exactly are you running this query?
Why do you expect there to be a keywords macro definined.
Which query language are you using?

Does a search against cm:name or TEXT work?

Andy

rockshore
Champ in-the-making
Champ in-the-making
Hi Andy,

I don't know exactly what you're asking as I believe I've outlined how I'm searching in previous posts.

I'm not doing anything but entering search terms for documents I expect to be lucene indexed, using the syntax pointed out by gnyce.

Regardless, even if I use Advanced Search, nothing of the search strings I enter into any of the fields (including merely selecting Adobe PDF as  MIME TYPE) yields any results whatsoever.

I'm at a loss as to what to try next.

Thanks again for your input.