Quantcast
Channel: Comments on: Excluding empty text values in SharePoint Search
Viewing all 22 articles
Browse latest View live

By: Yohan

$
0
0

Hi Waldek,
This is an interesting post since I was experiencing the same problem… thing is though, I want to search for NULL values, not exclude them! I've tried quite a few different methods without success… I think I have more trouble since my column is of type system.double. This prevents me from being able to use the text predicates etc….

Using (column > 0) returns the non-null values.
Using (column < 0) doesn't return anything.

If you have any clue as to how I can work around this, I would much appreciate!

Thanks,
Yohan


By: Waldek Mastykarz

$
0
0

@Yohan: Have you tried using column = " (just a sanity check)?

By: Sridhar

$
0
0

Interesting post but have the same problem as Yohan where I need to search for NULL values. Please help !

By: Sridhar

$
0
0

I have a similiar problem as @Yohan. I want to search for NULL or empty column values. Please help!

By: Waldek Mastykarz

$
0
0

@Sridhar: As I mentioned: have you tried searching for = " values?

By: Ayan

$
0
0

I had to do a wild card search with FULLTextSQLQuery class. I wrote my query as select….where IS NULL or LIKE '%Text%'….. it is throwing the same error as mentioned above. Could you please provide any solution for these?

By: Get Recent Changes across Site Collections | Mike's Notebook

By: Dave

$
0
0

Cool, thanks for that, worked a treat no less!


By: Pavol

By: Sudarshan Vatturkar

$
0
0

Hi Waldek,

I am facing some different issue with FullText Search.

For custom reporting, I am using FullText Search query which returns all documents/files across Site collection Or Web Application based on defined scope.

FullText query does return results but I found some wired behavior with search results. When I search through Site Search (through SharePoint UI), I do get those missing documents (from FullText query result) as part of search results which confirms those documents are crawled and indexed:

1. Search result omits few documents (.DOCX) from same document library

— e.g. If I have uploaded 10 word documents (.DOCX) then search will return me only 8 out of 10 and 2 will be not part of results.

— No scope or filter provided of Metadata/keywords as query wrote to return all available documents from all lists.

2. From site pages search result returns only 5 pages (.ASPX and .html) out of total 10 pages in same library.

I am attaching sample FullText query for specific SC

SELECT Size, url, FileName, contentclass, IsDocument FROM Scope() WHERE "scope" = 'All Sites' AND
contains(url,'https://domainname/sites/secondsitecollection')
And
(ContentClass='STS_ListItem_PictureLibrary' OR ContentClass='STS_ListItem_DocumentLibrary' OR ContentClass='STS_ListItem_XMLForm' OR ContentClass='STS_ListItem_WebPageLibrary' OR ContentClass='STS_ListItem_851' OR ContentClass='STS_ListItem_850' OR ContentClass='STS_ListItem_2100' OR ContentClass='STS_ListItem_433') AND Size != 0

Note:

(Size != 0 clause is used to filter out folder and all documents are having some size and greater than > 0 kb)
Above query is used inside Timer Job and running under farm admin account.

Any help will be appreciated on this topics.

Thanks,

Sudarshan S Vatturkar

By: Waldek Mastykarz

$
0
0

Could it be that some documents are filtered out because SharePoint sees them as duplicates?

By: Sudarshan S Vatturkar

$
0
0

Do you seen any other possible reason? As document name and contents are different.

Thanks for your respond.

-Sudarshan S Vatturkar

By: Waldek Mastykarz

$
0
0

To verify whether this is the case you could check if you get the same results if you enable and disable the option to trim duplicates. Other than that, I'm not sure off the top of my head what could be causing it.

By: Jagjot

$
0
0

Hi Waldek Mastykarz,
I have a multilookup column in my site and i want get only those documents which are having null or empty value in that column using free text query but not able to do that, i tried using column =" but it does not work. I'm currenlty working on sharepoint 2007. Please help

By: Waldek Mastykarz

$
0
0
Have you tried using NOT property > ''?

By: Jagjot

$
0
0

Hi
Thanks for the reply.
I tried not with this syntax AND NOT FIELD>"
but it did not work
Can you let me know if i'm missing something.
Thanks

By: Waldek Mastykarz

By: Jagjot

$
0
0

HI Thanks for the reply, I had posted the question on the mentioned forums but haven't received any reply from them, If you find anything please let me know

By: Chris

$
0
0

Hi Waldek. In KQL (KeywordQuery Language), how do we check for "IS NOT NULL? xxxx"" does not appear to work.

Thanks…

By: Waldek Mastykarz

$
0
0

Unfortunately you can't do that. This is a frequent ask which unfortunately isn't possible without workarounds. Could you tell something more about the scenario in which you would like to use it?

Viewing all 22 articles
Browse latest View live