Search Lucene


Hi all

Please someone let me know how does the lucene search.

For example, the user searches for the word 'Hello World '.

WCS will give active results contains any word among the three words 'Hello', 'World', 'Hello World' or it will show that although in results that contain the complete word 'Hello World '.

Thank you

Chantal

She'll give so active results contains any word among the three words 'Hello', 'World', 'Hello World '.

Tags: Fusion Middleware

Similar Questions

  • retrieve id WCS jsp site without using ics. SQL

    Hello

    Is it possible that I can get my current site in JSP siteId without using ics. SQL tags and recovering from the publishing table

    We are trying to apply a search lucene for loading the assets in the current site only.

    Thanks in advance for your help.

    Use the code to do so below.

    Don't forget to import publication.tld

    Kind regards

    Ravi G

  • Blog active are not getting published

    Hi all

    I publish my complete site of an instance of management to another (the real-time publishing). The status is successful but is error in the log of the sites.
    Please find the log below:

    [2013-05-23 11:16:26, 163 STI] [ERROR] [Thread-156] [com.fatwire.search.asset] Exception indexable data recovery for FW_BlogParent:1365416220623
    com.fatwire.assetapi.common.AssetAccessException: Exception met during the reading of the U:FW_BlogParent:1365416220623 assets
    at com.fatwire.assetapi.data.BasicAssetDataReadStrategy.read(BasicAssetDataReadStrategy.java:169)
    at com.fatwire.assetapi.data.FlexAssetDataReadStrategy.read(FlexAssetDataReadStrategy.java:105)
    at com.fatwire.assetapi.data.AssetDataManagerImpl.read(AssetDataManagerImpl.java:125)
    at com.fatwire.search.source.IndexSourceIteratorImpl.next(IndexSourceIteratorImpl.java:89)
    at com.fatwire.search.source.IndexSourceIteratorImpl.next(IndexSourceIteratorImpl.java:35)
    at com.fatwire.cs.core.util.UnifiedIterator.next(UnifiedIterator.java:64)
    at com.fatwire.search.lucene.LuceneSearchEngine._deleteData(LuceneSearchEngine.java:341)
    at com.fatwire.search.lucene.LuceneSearchEngine._deleteData(LuceneSearchEngine.java:322)
    at com.fatwire.search.lucene.LuceneSearchEngine.index(LuceneSearchEngine.java:151)
    at com.fatwire.search.engine.SearchEngineLockWrapper.index(SearchEngineLockWrapper.java:55)
    at com.fatwire.search.util.AssetQueueIndexSourceUtil._processAll(AssetQueueIndexSourceUtil.java:101)
    to com.fatwire.search.util.AssetQueueIndexSourceUtil.access$ 000 (AssetQueueIndexSourceUtil.java:35)
    to com.fatwire.search.util.AssetQueueIndexSourceUtil$ indexingRunnable.run(AssetQueueIndexSourceUtil.java:51)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: com.fatwire.assetapi.common.AssetAccessException: com.fatwire.assetapi.common.AssetAccessException: com.openmarket.basic.interfaces.AssetException: filter 'BlogFieldCopier' does not exist
    at com.fatwire.assetapi.data.BasicAssetDataReadStrategy._getAssetDataFromAsset(BasicAssetDataReadStrategy.java:580)
    at com.fatwire.assetapi.data.BasicAssetDataReadStrategy.read(BasicAssetDataReadStrategy.java:139)
    at com.fatwire.assetapi.data.FlexAssetDataReadStrategy.read(FlexAssetDataReadStrategy.java:97)
    at com.fatwire.assetapi.data.BasicAssetDataReadStrategy.read(BasicAssetDataReadStrategy.java:156)
    ... 13 more
    Caused by: com.fatwire.assetapi.common.AssetAccessException: com.openmarket.basic.interfaces.AssetException: filter 'BlogFieldCopier' does not exist
    at com.fatwire.assetapi.def.AssetTypeDefManagerImpl.findByName(AssetTypeDefManagerImpl.java:102)
    at com.fatwire.assetapi.data.BasicAssetDataReadStrategy._getAssetTypeDef(BasicAssetDataReadStrategy.java:1022)
    at com.fatwire.assetapi.data.BasicAssetDataReadStrategy._getAssetDataFromAsset(BasicAssetDataReadStrategy.java:262)
    ... 16 more
    Caused by: com.openmarket.basic.interfaces.AssetException: filter 'BlogFieldCopier' does not exist
    at com.openmarket.gator.interfaces.FilterFactory.getFilterInstance(FilterFactory.java:37)
    at com.openmarket.gator.flexfilters.FlexFilterInstance.describeDerivedAttributes(FlexFilterInstance.java:292)
    at com.openmarket.gator.flexfilters.FlexFilterManager.getFilterInfo(FlexFilterManager.java:373)
    at com.openmarket.gator.common.TemplateFilters.getDerivedInfo(TemplateFilters.java:290)
    at com.openmarket.gator.flexgrouptemplates.FlexGroupTemplateManager.getDerivedInfo(FlexGroupTemplateManager.java:314)
    at com.openmarket.gator.flexgroups.FlexGroupManager.getDerivedInfo(FlexGroupManager.java:1762)
    at com.openmarket.gator.common.BaseFlexManager.getAttributesDefinitions(BaseFlexManager.java:2723)
    at com.openmarket.assetframework.complexasset.AssetManager.getAttributeDefs(AssetManager.java:1983)
    at com.fatwire.assetapi.def.AssetTypeDefManagerImpl.findByName(AssetTypeDefManagerImpl.java:94)

    I must exclude active blog when I post a new destination and run the separate installer for the blog? If yes then I'm able to publish only the assets of blog that I created in the source?

    Any help is appreciated.
    Pratush.

    Hello Pratush,

    The error you get is when the parent of Blog is being indexed. I'm guessing that you get these errors on the target server, finished publish it.

    The news module comes with two filters of Flex: BlogThumbnailCreator and BlogFieldCopier. The code for these is in fwblogs - 11.1.1.6.1.jar (for 11.1.1.6.1 Sites). You must deploy this jar on the target. You will need to also mirror or copy the BlogThumbnailCreator and BlogFieldCopier files to the filters on the target table. The publication does not only.

    If you are installing the module of items on the target server, which will deploy the jar and also create filters records (and also create the assets of the sample blog there).

    After the pot has been deployed and missing filters created, you can re - index the active associated Blog, so that they are in the contributor user interface.

    I hope this helps.

    Kind regards
    Stephan.

  • AssetType Lucene search

    Hello

    Anyone know how to search with Lucene multiple assettypes at once and sort results by a common attribute of them? I mean with AssetType not index, because it is not sort by active attribute.

    Is it possible? or should I search by query o searchstate?

    Thank you very much and sorry for my bad English, I hope someone understand me

    Hello 1302646,

    The best solution in my opinion is to use searchstate rather than the DB query, but you can use both I guess. So that enforcement searchstate with various buckets you can declare different types of research of attribute within the same stress, sort them after that just with a listobject. Let me give you an example:

    ---------------------CODE----------------------

      

    mmediateonly = "true" / >

     

     


    -----------------END-CODE------------------

    Hope this is what is helpful, friendly,

    Enrique

  • Not able to order search results

    I use contributor search advanced to get of the assets, but I can't order them by date.

    Can I change configuration?

    Hello

    I tested the Patch 8 and the problem persists, also according to bug notes, the issue has not been set. It will be added in a future update.

    Good news is that there is a solution for this:


    Note: At that time, only the column changed sortable in the contributor user interface
    -The name column is sortable by default.
    -The other columns in the search for contributor UI are results are not sortable after Patch 6 (for example, Type, location, Tags).

    To resolve this problem, you must do the following:

    1. switch to update the IndexSourceMetaDataConfig table with the names of the Lucene fields you want made sortable.
    -To do this, follow these steps:
    (a) connect to explore Sites
    (b) update the table IndexSourceMetaDataConfig in the following way:
    (c) to identify the line where the name is 'Global' and update the column sortablefields for this line, add the field you want to have sortable.
    -for example if you want the name and date of update (updateddate) in lucene be sortable, you must set the sortablefields column name; updateddate; like the following:

    ID name uniqueid defaultsearchfield searchenginename sortablefields urlfielddescriptor properties
    1406218225477 Global ID DefaultSearchField Lucene name: updateddate; 963/891/global.txt

    (d) changes recorded in the site Explorer

    2. the Assettypes should be reindexed once the IndexSourceMetaDataConfig table is updated.
    -To do this, follow these steps:
    (a) log into the Admin user interface
    (b) under the Admin tab, expanded the node search, double-click on configure global search
    (c) select reindex option, select all types of assets and click OK.

    Once the assettypes were re-indexed, additional fields will now be sortable in the results of Search Assistant UI.

    Note: For specific index of active type (used in the advanced search), you must update the line in the IndexSourceMetaDataConfig which corresponds to the current index of the specific Type in the same way as described above and re-index the active index Type specific.

    Please note that the application of this workaround you will be responsible to maintain, like any customization.

    I hope this helps.

    Guillermo.

  • Cannot use the search feature on the App Store

    Hello

    I have a problem with the search feature in the App Store. This problem only occurs when connected with my Apple ID, everything in the App Store itself works very well. Only when it comes to the search I get an error "the App Store is temporarily unavailable. Try again later. I tried all methods I found online and on Apple's site, including: restarting the unit, check the time and date, iOS is updated, various wireless as well as the 4 G network, signing in and out of the account and App Store refresh method. Unfortunately, nothing has worked so far.

    I am currently using iPhone 5s device

    iOS 10.0.2

    Same thing here.

    But if I register the App Store, the search works very well.

    There is clearly something wrong with the App Store.

  • iTunes search does

    This is news to me (been a user since 2009 iOS); but the App Store works fine - except the 'search' tab. I did the usual questions - reboot reboot hard, signed on iTunes and common and even delete some applications. The problem still occurs.

    I use the latest iOS on my iPhone more 6 and iPad 2 air; It is not a total locking of the App Store just a mild annoyance of the search for the app.

    Any help would be greatly appreciated and thanks.

    Hello professionalbum,

    If I understand correctly, it seems that there is something doesn't work is not quite right with the search of the iTunes Store app tab. You did a great set of troubleshooting already, and then I would leave the iTunes app:

    Force a nearby application on your iPhone, iPad or iPod touch

    Then restart the phone once more and try again.

    Restart your iPhone, iPad or iPod touch

    If the problem persists, we would then back up your phone to iTunes:

    The backup of your iPhone, iPad and iPod touch

    Then use the following article to restore default iPhone. Once, that is, test the app Store iTunes again to ensure that it works as expected.

    Use iTunes on your Mac or PC to restore your iPhone, iPad or iPod to factory settings

    Once this is confirmed, use this article to restore your backup to your phone and make sure that it still works correctly:

    Restore your iPhone, iPad or iPod touch from a backup

    Thank you for using communities of Apple Support, let us know how it goes!

  • Search iPhone settings for "Auto-Lock" does not work

    Hello

    Does anyone know why the Auto-Lock setting is not to be found when you use the search at the top of the main settings page.

    From time to time, when I'm on a conference call, I like to set the auto-lock on 'Never', so I can leave the visible main phone screen to mute/one-mute the call without having to unlock the phone. I have the memory of a goldfish, so I do not remember that it is in the section "Viewing and brightness" and that is why I use the search at the top of the main settings page field. I would normally enter 'Auto', and it would be "Auto-Lock" for me.

    Since the release of iOS10, the la recherche search can't find this definition more although it still is in the section "viewing and brightness.

    The search for other settings seems to work, but it seems that it is just this one, but I have not actually tried too.

    Any ideas on what is happening and how I could get to find the Auto-Lock in the future?

    Thank you

    B1GPappaSmurf wrote:

    Any ideas on what is happening and how I could get to find the Auto-Lock in the future?

    Seems to be a bug, so nothing you can do but remember where the parameter is and report the bug:

    http://www.Apple.com/feedback/iPhone.html

  • Search App Store not available?

    Everything seems to work in the App Store, except the search option.  When I try to look for an app, I get the "App Store not available" message.  It happens on my iPhone and iPad.  Any suggestions on how to fix the error?  I tried the option hard/soft reset already.

    Thank you!

    Hi davidbowlin!

    Thank you for joining the communities Support from Apple! Looks like you are having problems connecting to the App Store. I know how it is important to be able to connect to the App Store to make purchases on your devices. Reset is a great place to start. Read this article with the steps for If you cannot connect to the iTunes Store. This will give you a few extra steps, you can try and be able to get the issues resolved to connect to the App Store.

    See you soon!

  • How can I search in a note?

    Without projector, is it possible to search in a note?  Notes is one of my most commonly used apps, but I'll have to find something else if I can't look inside the Note. Projector only concludes the. It's that contains the text string. I know that every note and the note I want to search for are long and contains often multiple instances of my search string. Same email supports the ability of research and the following search. (The irony, is that the text editor used to create the application has this feature).

    Am I missing something?

    See what - iCloud: search for information on

  • Default search engine & homepage

    I think I have a bug.

    I have my default homepage set to MSN and Google search engine.  Since yesterday, whenever I open Safari, it opens on the Yahoo search engine.  Even when I do a search.  I checked the preferences of Safari and it still says MSN for the Home Page and of Google for my default search engine.

    Unfortunately I don't have time capsule implemented so I don't think I can go back in time and reset for a first date... or can I?

    Click here and follow the instructions, or if you do not delete rather manually the adware, launches MalwareBytes for Mac.

    MalwareBytes simplifies the process of removal of adware, but does not stop it or other malware from entering the computer. It should not be invoked to prevent future incidents; Instead, avoid downloading software from sources other than the Mac App Store or Developer Web sites.

    (145091)

  • Search mail does not find messages of before installing the OS 10.12

    Last week, I installed Sierra on my iMac 2011.  Most of the features seem to work well.  There is no: the search for any record in the results of Mail app only in messages based on the date of the software installed.  In other words, none of my archived emails (sent, received, trash, etc...) from before last week can be successfully found by the search.  The same limitations seem to apply to the projectors (or whatever the OS search main application is called) search for e-mail messages.

    This problem has been resolved by the reconstruction of each box mailbox (mailbox > REBUILD) individually.

  • Do you know what are the next countries in which Apple will be active ads search in the store?

    Search ads will launch next October 5th at the United States and I would like to now who are the next countries and when they will be open. Thank you!

    Nobody here knows that, until Apple announcement!

  • 9.0 schedule search in macOS Sierra

    I ve made just the switch to macOS Sierra on my 2014 27 "iMac and not only love him but they were"lucky"so far: everything (apart from a few little niggles in Photoshop CS6) works well. But in the calendar, I have several entries and events dating back to the 1990s that I still sometimes have to find. But rummaging through the won´t calendar show anything more than 1 year away, which is very frustrating! Someone knows how to help me, or is this a limitation of the I´ll calendar just to live with? I like using Mac calendar for its simplicity, clean up the GUI and the perfectly in-sync with my iPhone and Don t want to use a third-party program such as Fantastical or BusyCal. EtreCheck shows no problem and performance "excellent".  Thank you very much for any help offered!

    You need to re-index your Spotlight cache files. Some users have had to re-index the calendar items. However, before you start trying to bugs, if your calendars are synchronized, you can try to remove the addition. System Preferences > iCloud, clear the calendar check box, and then add it again. Give it time to delete files.

    Check first under the Privacy tab in Spotlight. If the boot volume, or any volume where your data resides is listed, remove the. Spotlight will begin immediately the amount of indexing. Check back later and you should be able to find the items in Spotlight.

    HOW DO I RE-INDEX YOUR SPOTLIGHT CACHE FILES

    In the Apple menu, choose System Preferences.

    * Click on the projector.

    Make this mail and Messages is enabled on the results tab of research.

    * Click on the Privacy tab.

    * Drag your player to the list. Wait a few minutes.

    * Remove the item you added.

    * Projector will be re - index the content of the element that you initially dragged to the list.

    Probably not necessary, but I would immediately leave the Terminal and restart your Mac.

    SUMMARY:

    Depending on your Mac and the contents of his hard drive, the re-indexing may take several hours. This night is a good option if you have a large drive.

    Open the activity monitor in Applications/Utilities and type md in the search filter. You should see several mdworker who are active processes.

    Until this process is complete, Spotlight will not know the contents of your discs and will not send mail.

    With Calendar.app quit...

    Go to the library to the user (see below)

    Scroll to the calendars folder

    Delete these files:

    Cache calendar

    Calendar Cache-shm

    Calendar Cache-wal

    Open the calendar & test

    Library of the user to see the

    The user library folder is hidden by default. In the unhide: select the Finder in the Dock. Less go in the Menu bar > hold down the Option key and you will see the library.

    Find the library user folder

    http://www.takecontrolbooks.com/resources/0167/site/chap11.html#FindingtheUserLi braryFolder

  • Search text messages and contacts

    Since the IOS 10 update, I can't find the content of the text message or contact for anything before the day of the update. Is there any solution for this?

    What do you mean when you say 'glad message text search?  Do you mean that since you upgraded to iOS 10 you do not see your previous posts?

Maybe you are looking for